Class: Museum::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/museum/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_intervalObject

Returns the value of attribute refresh_interval.



14
15
16
# File 'lib/museum/configuration.rb', line 14

def refresh_interval
  @refresh_interval
end

#usernameObject

Returns the value of attribute username.



14
15
16
# File 'lib/museum/configuration.rb', line 14

def username
  @username
end