Class: LibraryThing::Author

Inherits:
Resource show all
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

#document, #item_node, #xml

Method Summary

Methods inherited from Resource

#[], get, get_method, #initialize

Constructor Details

This class inherits a constructor from LibraryThing::Resource