Class: Quickeebooks::Online::Model::MetaData

Inherits:
IntuitType
  • Object
show all
Defined in:
lib/quickeebooks/online/model/meta_data.rb

Instance Method Summary collapse

Methods inherited from IntuitType

resource_for_collection, resource_for_singular

Instance Method Details

#to_xml(options = {}) ⇒ Object



11
12
13
14
15
16
# File 'lib/quickeebooks/online/model/meta_data.rb', line 11

def to_xml(options = {})
  xml = %Q{<MetaData>}
  xml = "#{xml}<CreateTime>#{formatted_date(create_time)}</CreateTime>"
  xml = "#{xml}<LastUpdatedTime>#{formatted_date(last_updated_time)}</LastUpdatedTime></MetaData>"
  xml
end