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.
-
#env ⇒ Object
Returns the value of attribute env.
-
#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.
-
#session_tag ⇒ Object
Returns the value of attribute session_tag.
-
#session_url ⇒ Object
Returns the value of attribute session_url.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
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 13 14 15 16 |
# File 'lib/core/configuration.rb', line 7 def initialize @language = :en @host_gateway = nil @browser_path = "" @session_url = "" @session_path = "" @session_tag = nil @timeout = 1000 @env = 'development' 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 |
#env ⇒ Object
Returns the value of attribute env.
5 6 7 |
# File 'lib/core/configuration.rb', line 5 def env @env 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 |
#session_tag ⇒ Object
Returns the value of attribute session_tag.
5 6 7 |
# File 'lib/core/configuration.rb', line 5 def session_tag @session_tag end |
#session_url ⇒ Object
Returns the value of attribute session_url.
5 6 7 |
# File 'lib/core/configuration.rb', line 5 def session_url @session_url end |
#timeout ⇒ Object
Returns the value of attribute timeout.
5 6 7 |
# File 'lib/core/configuration.rb', line 5 def timeout @timeout end |