Class: RubygemsHerald::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/rubygems_herald/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/rubygems_herald/configuration.rb', line 16

def initialize
  self.gems = []
  self.refresh_interval = '1 hour'
end

Instance Attribute Details

#gemsObject

Returns the value of attribute gems.



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

def gems
  @gems
end

#refresh_intervalObject

Returns the value of attribute refresh_interval.



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

def refresh_interval
  @refresh_interval
end