Module: Eloquant::Contacts
- Included in:
- Client
- Defined in:
- lib/eloquant/concerns/contacts.rb
Instance Method Summary collapse
- #create_bulk_contact_export(params = {}) ⇒ Object
- #describe_contacts ⇒ Object
- #describe_contacts_csv ⇒ Object
- #get_contact(eloqua_external_id) ⇒ Object
- #list_contact_exports ⇒ Object
- #number_of_contacts ⇒ Object
Instance Method Details
#create_bulk_contact_export(params = {}) ⇒ Object
24 25 26 |
# File 'lib/eloquant/concerns/contacts.rb', line 24 def create_bulk_contact_export(params = {}) create_bulk_export(contacts, params) end |
#describe_contacts ⇒ Object
3 4 5 |
# File 'lib/eloquant/concerns/contacts.rb', line 3 def describe_contacts describe_endpoint(contacts) end |
#describe_contacts_csv ⇒ Object
7 8 9 |
# File 'lib/eloquant/concerns/contacts.rb', line 7 def describe_contacts_csv describe_endpoint_csv(contacts) end |
#get_contact(eloqua_external_id) ⇒ Object
15 16 17 18 19 20 21 22 |
# File 'lib/eloquant/concerns/contacts.rb', line 15 def get_contact(eloqua_external_id) params = { search: "ContactIDExt='#{eloqua_external_id}'", depth: "complete", } get("/api/rest/1.0/data/contacts", params) end |
#list_contact_exports ⇒ Object
28 29 30 |
# File 'lib/eloquant/concerns/contacts.rb', line 28 def list_contact_exports list_bulk_exports(contacts) end |
#number_of_contacts ⇒ Object
11 12 13 |
# File 'lib/eloquant/concerns/contacts.rb', line 11 def number_of_contacts count_endpoint(contacts) end |