class AmoCRM::Resources::CustomField

Public Class Methods

entity_class() click to toggle source
# File lib/amo_crm/resources/custom_field.rb, line 20
def self.entity_class
  AmoCRM::Entities::CustomField
end
resource_name() click to toggle source
# File lib/amo_crm/resources/custom_field.rb, line 24
def self.resource_name
  :custom_fields
end

Public Instance Methods

all() click to toggle source
# File lib/amo_crm/resources/custom_field.rb, line 4
def all
  page.items
end
find() click to toggle source
# File lib/amo_crm/resources/custom_field.rb, line 8
def find
  raise 'no such method'
end
list_path() click to toggle source
# File lib/amo_crm/resources/custom_field.rb, line 12
def list_path
  'accounts/current'
end
pluralized_key_path() click to toggle source
# File lib/amo_crm/resources/custom_field.rb, line 16
def pluralized_key_path
  'account' # custom_fields
end