Module: YFi

Defined in:
lib/y_fi.rb,
lib/y_fi/quote.rb,
lib/y_fi/version.rb,
lib/y_fi/quote_collection.rb

Defined Under Namespace

Classes: Configuration, Quote, QuoteCollection

Constant Summary collapse

VERSION =
'0.1.0'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



13
14
15
# File 'lib/y_fi.rb', line 13

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



24
25
26
# File 'lib/y_fi.rb', line 24

def self.configure
  yield(configuration)
end

.resetObject



20
21
22
# File 'lib/y_fi.rb', line 20

def self.reset
  @configuration = Configuration.new
end