Module: Olibrary::Authors

Included in:
Client
Defined in:
lib/olibrary/client/authors.rb

Instance Method Summary collapse

Instance Method Details

#author(key) ⇒ Object

Find authors in Open Library by their key



5
6
7
8
# File 'lib/olibrary/client/authors.rb', line 5

def author(key)
  data = request("/authors/#{key}")
  Hashie::Mash.new(data)
end