module CrmContact
Public Instance Methods
all(options)
click to toggle source
# File lib/equinox_crm/crm_contact.rb, line 16 def all(options) limit = options && options[:limit] page = options && options[:page] response = request( http_method: :get, endpoint: "#{API_URL}?limit=#{limit}&page=#{page}" ) response end
find(id)
click to toggle source
# File lib/equinox_crm/crm_contact.rb, line 8 def find(id) response = request( http_method: :get, endpoint: "#{API_URL}/#{id}" ) response end