Class: LibraryThing::Author
- Defined in:
- lib/librarything/author.rb
Overview
Provides access to the LT Author API Authors can be loaded by id, authorcode, or name
# author = LibraryThing::Author.get(:id => 216)
# author = LibraryThing::Author.get(:authorcode => 'clarkesusanna')
author = LibraryThing::Author.get(:name => 'Clarke, Susanna')
author['url]
=> "http://www.librarything.com/author/216"
Instance Attribute Summary
Attributes inherited from Resource
Method Summary
Methods inherited from Resource
#[], get, get_method, #initialize
Constructor Details
This class inherits a constructor from LibraryThing::Resource