Sha256: 3d1ce58a1eec2a4131b84bbf408a535bf89997106c6079b493bb688fc3ce5b59
Contents?: true
Size: 698 Bytes
Versions: 1
Compression:
Stored size: 698 Bytes
Contents
module AmoCRM::Entities class Company include Virtus.model attribute :name, String attribute :request_id, Integer attribute :date_create, Time attribute :last_modified, Time attribute :responsible_user_id, Integer attribute :linked_leads_id, Array[Integer] attribute :tags, Array[String] attribute :company_name, String attribute :custom_fields, Array[CustomFieldValue] def to_s as_json.to_s end def attributes_for_update { id: id, last_modified: last_modified, request_id: request_id, name: name, company_name: company_name, custom_fields: 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/entities/company.rb |