Class: ButlerMainframe::Configuration
- Inherits:
-
Object
- Object
- ButlerMainframe::Configuration
- Defined in:
- lib/core/configuration.rb
Instance Attribute Summary collapse
-
#allow_sign_up ⇒ Object
writeonly
Sets the attribute allow_sign_up.
-
#browser_path ⇒ Object
Returns the value of attribute browser_path.
-
#host_gateway ⇒ Object
Returns the value of attribute host_gateway.
-
#language ⇒ Object
Returns the value of attribute language.
-
#session_path ⇒ Object
Returns the value of attribute session_path.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 11 12 |
# File 'lib/core/configuration.rb', line 7 def initialize @language = :en @host_gateway = nil @browser_path = "" @session_path = "" end |
Instance Attribute Details
#allow_sign_up=(value) ⇒ Object (writeonly)
Sets the attribute allow_sign_up
3 4 5 |
# File 'lib/core/configuration.rb', line 3 def allow_sign_up=(value) @allow_sign_up = value end |
#browser_path ⇒ Object
Returns the value of attribute browser_path.
5 6 7 |
# File 'lib/core/configuration.rb', line 5 def browser_path @browser_path end |
#host_gateway ⇒ Object
Returns the value of attribute host_gateway.
5 6 7 |
# File 'lib/core/configuration.rb', line 5 def host_gateway @host_gateway end |
#language ⇒ Object
Returns the value of attribute language.
5 6 7 |
# File 'lib/core/configuration.rb', line 5 def language @language end |
#session_path ⇒ Object
Returns the value of attribute session_path.
5 6 7 |
# File 'lib/core/configuration.rb', line 5 def session_path @session_path end |