Sha256: 8456e0a73083cb72ad37286df7cfa67d0a912a72020fee3fe9c690b6b0e47294
Contents?: true
Size: 666 Bytes
Versions: 1
Compression:
Stored size: 666 Bytes
Contents
module AmoCRM::Entities class Lead include Virtus.model attribute :name, String attribute :date_create, Time attribute :last_modified, Time attribute :status_id, Integer attribute :price, Integer attribute :request_id, Integer attribute :tags, Array[String] # responsible_user_id def attributes_for_update { name: name, date_create: date_create.to_i, last_modified: last_modified.to_i, request_id: request_id, # status_id: status_id, price: price, custom_fields: custom_fields, # tags: tags, visitor_uid: visitor_uid, } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
amo_crm-0.2.2 | lib/amo_crm/entities/lead.rb |