Class: Pousse::Configuration
- Inherits:
-
Object
- Object
- Pousse::Configuration
- Defined in:
- lib/pousse/configuration.rb
Instance Attribute Summary collapse
-
#redis ⇒ Object
Returns the value of attribute redis.
-
#secret ⇒ Object
Returns the value of attribute secret.
-
#server ⇒ Object
Returns the value of attribute server.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
3 4 5 6 7 |
# File 'lib/pousse/configuration.rb', line 3 def initialize @redis = {} @server = '' @secret = nil end |
Instance Attribute Details
#redis ⇒ Object
Returns the value of attribute redis.
8 9 10 |
# File 'lib/pousse/configuration.rb', line 8 def redis @redis end |
#secret ⇒ Object
Returns the value of attribute secret.
8 9 10 |
# File 'lib/pousse/configuration.rb', line 8 def secret @secret end |
#server ⇒ Object
Returns the value of attribute server.
8 9 10 |
# File 'lib/pousse/configuration.rb', line 8 def server @server end |