Method: OpenLibraryBook#initialize
- Defined in:
- lib/fetchworks.rb
#initialize(ident) ⇒ OpenLibraryBook
Identifier is assumed to be ISBN10/ISBN13 TODO: Add a check or identification type
180 181 182 |
# File 'lib/fetchworks.rb', line 180 def initialize(ident) super OpenLibrary.get_book(ident) end |