diff options
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/gateway.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/models/gateway.rb b/app/models/gateway.rb new file mode 100644 index 0000000..6a7514c --- /dev/null +++ b/app/models/gateway.rb @@ -0,0 +1,6 @@ +class Gateway < ActiveRecord::Base + attr_accessible :name, :technology, :inbound, :outbound, :description + + has_many :gateway_settings, :dependent => :destroy + has_many :gateway_parameters, :dependent => :destroy +end |