Module: Olibrary

Defined in:
lib/olibrary.rb,
lib/olibrary/data.rb,
lib/olibrary/view.rb,
lib/olibrary/client.rb,
lib/olibrary/errors.rb,
lib/olibrary/details.rb,
lib/olibrary/request.rb,
lib/olibrary/version.rb,
lib/olibrary/client/save.rb,
lib/olibrary/client/books.rb,
lib/olibrary/client/login.rb,
lib/olibrary/client/recent.rb,
lib/olibrary/client/search.rb,
lib/olibrary/client/authors.rb,
lib/olibrary/client/history.rb,
lib/olibrary/client/editions.rb

Defined Under Namespace

Modules: Authors, Books, Editions, History, Login, Recent, Request, Save, Search Classes: Client, Data, Details, Error, NotFound, Redirect, Unauthorized, View

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.new(options = {}) ⇒ Object

Create a new Olibrary::Client instance



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

def self.new(options={})
  Olibrary::Client.new(options)
end

.versionObject

Return the openlibrary gem version



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

def self.version
  "Olibrary version #{Olibrary::VERSION}"
end