Class: Decommas::Configuration
- Inherits:
-
Object
- Object
- Decommas::Configuration
- Defined in:
- lib/decommas/configuration.rb
Instance Attribute Summary collapse
-
#safe_mode ⇒ Object
Returns the value of attribute safe_mode.
-
#token ⇒ Object
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 |
# File 'lib/decommas/configuration.rb', line 6 def initialize @safe_mode ||= false end |
Instance Attribute Details
#safe_mode ⇒ Object
Returns the value of attribute safe_mode.
4 5 6 |
# File 'lib/decommas/configuration.rb', line 4 def safe_mode @safe_mode end |
#token ⇒ Object
Returns the value of attribute token.
3 4 5 |
# File 'lib/decommas/configuration.rb', line 3 def token @token end |