class DataComApi::BaseApiURI

Public Instance Methods

company_contact_count(company_id) click to toggle source
# File lib/data-com-api/api_uri.rb, line 8
def company_contact_count(company_id)
  "/rest/companyContactCount/#{ company_id }.json"
end
contacts(contact_ids) click to toggle source
# File lib/data-com-api/api_uri.rb, line 20
def contacts(contact_ids)
  "/rest/contacts/#{ contact_ids.join(',') }.json"
end
partner() click to toggle source
# File lib/data-com-api/api_uri.rb, line 28
def partner
  "/rest/partner.json"
end
partner_contacts(contact_ids) click to toggle source
# File lib/data-com-api/api_uri.rb, line 24
def partner_contacts(contact_ids)
  "/rest/partnerContacts/#{ contact_ids.join(',') }.json"
end
search_company() click to toggle source
# File lib/data-com-api/api_uri.rb, line 16
def search_company
  "/rest/searchCompany.json"
end
search_contact() click to toggle source
# File lib/data-com-api/api_uri.rb, line 12
def search_contact
  "/rest/searchContact.json"
end
user() click to toggle source
# File lib/data-com-api/api_uri.rb, line 32
def user
  "/rest/user.json"
end