Class: Moysklad::Resources::CustomEntities
- Defined in:
- lib/moysklad/resources/custom_entities.rb
Overview
Элементы словаря
Constant Summary
Constants inherited from Base
Instance Method Summary collapse
-
#cache_key ⇒ Object
Публичный чтобы был доступен из индекса.
-
#initialize(custom_entity_meta_id: nil, client:, list_path: nil) ⇒ CustomEntities
constructor
custom_entity_meta_id - id словаря, элементы которого хотим получить.
Methods inherited from Base
#create, #delete, #get, indexed, inherited, #list, #metadata, pluralized_type, type, #update
Constructor Details
#initialize(custom_entity_meta_id: nil, client:, list_path: nil) ⇒ CustomEntities
custom_entity_meta_id - id словаря, элементы которого хотим получить
5 6 7 8 |
# File 'lib/moysklad/resources/custom_entities.rb', line 5 def initialize custom_entity_meta_id: nil, client:, list_path: nil @custom_entity_meta_id = super client: client, list_path: list_path end |
Instance Method Details
#cache_key ⇒ Object
Публичный чтобы был доступен из индекса
11 12 13 |
# File 'lib/moysklad/resources/custom_entities.rb', line 11 def cache_key [list_path, ].join(':') end |