Class: Petfinder::Shelter
- Inherits:
-
Object
- Object
- Petfinder::Shelter
- Extended by:
- XmlMapper
- Defined in:
- lib/petfinder/shelter.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(xml) ⇒ Shelter
constructor
A new instance of Shelter.
Methods included from XmlMapper
camel_case_lower, xml_attribute, xml_attributes
Constructor Details
#initialize(xml) ⇒ Shelter
Returns a new instance of Shelter.
8 9 10 |
# File 'lib/petfinder/shelter.rb', line 8 def initialize(xml) @xml = xml end |