Class: AmoCRM::Resources::CustomField
- Inherits:
-
Base
- Object
- Base
- AmoCRM::Resources::CustomField
show all
- Defined in:
- lib/amo_crm/resources/custom_field.rb
Constant Summary
Constants inherited
from Base
Base::LIMIT_ROWS
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Base
#create, #delete, #get, indexed, inherited, #initialize, #list, #page, type, #update
Class Method Details
.resource_name ⇒ Object
24
25
26
|
# File 'lib/amo_crm/resources/custom_field.rb', line 24
def self.resource_name
:custom_fields
end
|
Instance Method Details
#all ⇒ Object
4
5
6
|
# File 'lib/amo_crm/resources/custom_field.rb', line 4
def all
page.items
end
|
#find ⇒ Object
8
9
10
|
# File 'lib/amo_crm/resources/custom_field.rb', line 8
def find
raise 'no such method'
end
|
#list_path ⇒ Object
12
13
14
|
# File 'lib/amo_crm/resources/custom_field.rb', line 12
def list_path
'accounts/current'
end
|
#pluralized_key_path ⇒ Object
16
17
18
|
# File 'lib/amo_crm/resources/custom_field.rb', line 16
def pluralized_key_path
'account' end
|