Class: Cashboard::ClientContact
- Inherits:
-
Base
- Object
- OpenStruct
- TypecastedOpenStruct
- Struct
- Base
- Cashboard::ClientContact
- Defined in:
- lib/cashboard/client_contact.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#memberships(options = {}) ⇒ Object
Returns all associated CompanyMemberships.
Methods inherited from Base
authenticate, clear_authentication, create, #delete, #links, list, new_from_url, #to_xml, #update
Methods inherited from Struct
Methods inherited from TypecastedOpenStruct
Constructor Details
This class inherits a constructor from Cashboard::Struct
Instance Method Details
#memberships(options = {}) ⇒ Object
Returns all associated CompanyMemberships
25 26 27 28 29 |
# File 'lib/cashboard/client_contact.rb', line 25 def memberships(={}) self.class.get_collection( self.links[:memberships], Cashboard::CompanyMembership, ) end |