diff options
author | Peter Kozak <spag@golwen.net> | 2013-01-13 16:32:51 +0000 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-01-13 16:32:51 +0000 |
commit | f4ff0f4d08d73e699edf3b18ff99ba34e64f952b (patch) | |
tree | 5436a673bf8675ee62c0deee9163ec1cb772de6e /app/models | |
parent | aa896ace9575e1be265a8214add35892063579e6 (diff) |
gateway models added
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 |