Sha256: 920fcee620bcf90c60703e95cef36c8ebfd7fa3ccd28e3741a945c8fafbe105b

Contents?: true

Size: 498 Bytes

Versions: 1

Compression:

Stored size: 498 Bytes

Contents

module AmoCRM::Entities
  class CustomField < Base
    attribute :id, Integer
    attribute :name, String
    attribute :code, String # PHONE, EMAIL, WEB, ADDRESS
    attribute :multiple, String # Y/N
    attribute :type_id, Integer
    attribute :disabled, Integer # 0/1
    attribute :sort, Integer
    attribute :enums, Hash # {"450999"=>"WORK", "451001"=>"WORKDD", "451003"=>"MOB", "451005"=>"FAX", "451007"=>"HOME", "451009"=>"OTHER"}}
    attribute :values, Array[CustomFieldValue]
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
amo_crm-0.2.2 lib/amo_crm/entities/custom_field_definition.rb