Class: PlentyClient::ItemSet::Config
- Inherits:
-
Object
- Object
- PlentyClient::ItemSet::Config
- Defined in:
- lib/plenty_client/item_set/config.rb
Constant Summary collapse
- FIND_ITEM_SET_CONFIGS =
'/item_sets/{itemSetId}/config'
- UPDATE_ITEM_SET_CONFIGS =
'/item_sets/{itemSetId}/config'
Class Method Summary collapse
Methods included from Request
Methods included from Endpoint
Class Method Details
.find(item_set_id, headers = {}, &block) ⇒ Object
13 14 15 |
# File 'lib/plenty_client/item_set/config.rb', line 13 def find(item_set_id, headers = {}, &block) get(build_endpoint(FIND_ITEM_SET_CONFIGS, item_set: item_set_id), headers, &block) end |
.update(item_set_id, body = {}) ⇒ Object
17 18 19 |
# File 'lib/plenty_client/item_set/config.rb', line 17 def update(item_set_id, body = {}) put(build_endpoint(UPDATE_ITEM_SET_CONFIGS, item_set: item_set_id), body) end |