Sha256: e60b932ac362b9a4b2456474fe23087a11c611580f9c15fdd0feec0393b36070

Contents?: true

Size: 400 Bytes

Versions: 1

Compression:

Stored size: 400 Bytes

Contents

module AmoCRM::Resources
  class CustomField < Base

    def all
      page.items
    end

    def find
      raise 'no such method'
    end

    def list_path
      'accounts/current'
    end

    def pluralized_key_path
      'account' # custom_fields
    end

    def self.entity_class
      AmoCRM::Entities::CustomField
    end

    def self.resource_name
      :custom_fields
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
amo_crm-0.2.2 lib/amo_crm/resources/custom_field.rb