Class: Spreedly::Model

Inherits:
Object
  • Object
show all
Includes:
Fields
Defined in:
lib/spreedly/model.rb

Instance Method Summary collapse

Methods included from Fields

#field_hash, included, #initialize_fields

Constructor Details

#initialize(xml_doc) ⇒ Model

Returns a new instance of Model.



11
12
13
# File 'lib/spreedly/model.rb', line 11

def initialize(xml_doc)
  initialize_fields(xml_doc)
end