Class: Xero::Models::Contact
- Defined in:
- lib/xero/models/contact.rb
Instance Attribute Summary
Attributes inherited from BaseModel
Instance Method Summary collapse
Methods inherited from BaseModel
#attributes=, #cleanup_hash, #initialize, #persisted?, #save
Constructor Details
This class inherits a constructor from Xero::Models::BaseModel
Instance Method Details
#xero_attributes(attrs = nil) ⇒ Object
28 29 30 31 32 |
# File 'lib/xero/models/contact.rb', line 28 def xero_attributes(attrs = nil) attrs = super(attrs) attrs.merge!('Addresses' => addresses.xero_attributes) attrs end |