Module: UsaTodayBooks

Defined in:
lib/usa_today_books.rb,
lib/usa_today_books/version.rb,
lib/usa_today_books/best_sellers.rb

Defined Under Namespace

Classes: BestSellers

Constant Summary collapse

VERSION =
"0.0.1"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.api_keyObject

Returns the value of attribute api_key.



18
19
20
# File 'lib/usa_today_books.rb', line 18

def api_key
  @api_key
end

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (UsaTodayBooks)

    the object that the method was called on



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

def self.configure
  yield self
  true
end