Class: GoGoodreads::Shelf
- Inherits:
-
Object
- Object
- GoGoodreads::Shelf
- Includes:
- Resource
- Defined in:
- lib/go_goodreads/shelf.rb
Class Method Summary collapse
Methods included from Resource
Class Method Details
.initialize_with_node(xml) ⇒ Object
6 7 8 9 |
# File 'lib/go_goodreads/shelf.rb', line 6 def self.initialize_with_node(xml) attrs = to_attributes!(xml, :name => {:using => lambda {|n, from| xml[from] }}) new(attrs) end |