Class: Moneybird::Service::Contact
- Inherits:
-
Object
- Object
- Moneybird::Service::Contact
- Includes:
- Traits::AdministrationService, Traits::Delete, Traits::Find, Traits::FindAll, Traits::Save, Traits::Service, Traits::Synchronization
- Defined in:
- lib/moneybird/service/contact.rb
Instance Attribute Summary
Attributes included from Traits::AdministrationService
#administration_id, #client, #options, #preloaded_data
Instance Method Summary collapse
Methods included from Traits::Synchronization
Methods included from Traits::Delete
Methods included from Traits::Save
Methods included from Traits::FindAll
#all, #each, #each_page, #first, #first_page, #map
Methods included from Traits::Find
Methods included from Traits::Service
Methods included from Traits::AdministrationService
Instance Method Details
#find_by_customer_id(customer_id) ⇒ Object
11 12 13 |
# File 'lib/moneybird/service/contact.rb', line 11 def find_by_customer_id(customer_id) build client.get("#{path}/customer_id/#{customer_id}") end |