summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-01-14 09:47:51 +0100
committerspag <spag@golwen.net>2013-01-14 09:47:51 +0100
commiteffdf42ddf751d3973b44465168078344a414982 (patch)
treeb80e12056a4dc93b823719c9dde9831ded088fdc /app
parent24a60c41586dbfa64da30acea1749376bebbef46 (diff)
available gateway_settings
Diffstat (limited to 'app')
-rw-r--r--app/models/gateway_setting.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/models/gateway_setting.rb b/app/models/gateway_setting.rb
index cf1292d..cb430d1 100644
--- a/app/models/gateway_setting.rb
+++ b/app/models/gateway_setting.rb
@@ -1,5 +1,8 @@
class GatewaySetting < ActiveRecord::Base
CLASS_TYPES = ['String', 'Integer', 'Boolean']
+ GATEWAY_SETTINGS = {
+ 'sip' => { 'domain' => 'String', 'username' => 'String', 'password' => 'String', 'register' => 'Boolean' },
+ }
attr_accessible :gateway_id, :name, :value, :class_type, :description