class AmoCRM::Resources::Leads
Public Class Methods
entity_class()
click to toggle source
# File lib/amo_crm/resources/leads.rb, line 23 def self.entity_class AmoCRM::Entities::Lead end
resource_name()
click to toggle source
# File lib/amo_crm/resources/leads.rb, line 27 def self.resource_name :leads end
Public Instance Methods
all()
click to toggle source
# File lib/amo_crm/resources/leads.rb, line 3 def all page.items end
find()
click to toggle source
# File lib/amo_crm/resources/leads.rb, line 7 def find raise 'no such method' end
list_path()
click to toggle source
# File lib/amo_crm/resources/leads.rb, line 15 def list_path 'leads/list' end
response_key()
click to toggle source
# File lib/amo_crm/resources/leads.rb, line 19 def response_key 'leads' end
set_path()
click to toggle source
# File lib/amo_crm/resources/leads.rb, line 11 def set_path 'leads/set' end