Sha256: 706c76d5b190e6129494c40b695eb6c8e29af964a31480c949906ab701bbfca8

Contents?: true

Size: 371 Bytes

Versions: 1

Compression:

Stored size: 371 Bytes

Contents

module AmoCRM::Resources
  class Companies < Base
    def find
      raise 'no such method'
    end

    def set_path
      'company/set'
    end

    def list_path
      'company/list'
    end

    def response_key
      'contacts'
    end

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

    def self.resource_name
      :companies
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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