Class: Amorail::Company
- Includes:
- Leadable
- Defined in:
- lib/amorail/entities/company.rb
Overview
AmoCRM company entity
Instance Method Summary collapse
Methods included from Leadable
Methods inherited from Entity
amo_field, amo_names, amo_property, attributes, find, find!, find_all, find_by_query, inherited, #initialize, #load_record, #new_record?, #persisted?, properties, #reload, #reload_model, remote_url, #save, #save!, #update, #update!, where
Instance Method Details
#params ⇒ Object
19 20 21 22 23 |
# File 'lib/amorail/entities/company.rb', line 19 def params data = super data[:type] = 'contact' data end |