Class: Museum::Configuration
- Inherits:
-
Object
- Object
- Museum::Configuration
- Defined in:
- lib/museum/configuration.rb
Instance Attribute Summary collapse
-
#refresh_interval ⇒ Object
Returns the value of attribute refresh_interval.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
16 17 18 19 |
# File 'lib/museum/configuration.rb', line 16 def initialize self.username = nil self.refresh_interval = 3600 end |
Instance Attribute Details
#refresh_interval ⇒ Object
Returns the value of attribute refresh_interval.
14 15 16 |
# File 'lib/museum/configuration.rb', line 14 def refresh_interval @refresh_interval end |
#username ⇒ Object
Returns the value of attribute username.
14 15 16 |
# File 'lib/museum/configuration.rb', line 14 def username @username end |