module PlentyClient::ItemSet
Constants
- CREATE_ITEM_SETS
- DELETE_ITEM_SET
- DELETE_ITEM_SETS
- GET_ITEM_SET
- LIST_ITEM_SETS
- UPDATE_ITEM_SET
- UPDATE_ITEM_SETS
Public Class Methods
create(body = {})
click to toggle source
# File lib/plenty_client/item_set.rb, line 25 def create(body = {}) post(build_endpoint(CREATE_ITEM_SETS), body) end
destroy(item_set_id, body = {})
click to toggle source
# File lib/plenty_client/item_set.rb, line 37 def destroy(item_set_id, body = {}) put(build_endpoint(DELETE_ITEM_SET, item_set: item_set_id), body) end
destroy_sets(body = {})
click to toggle source
# File lib/plenty_client/item_set.rb, line 41 def destroy_sets(body = {}) put(build_endpoint(DELETE_ITEM_SETS), body) end
find(item_set_id, headers = {}, &block)
click to toggle source
# File lib/plenty_client/item_set.rb, line 21 def find(item_set_id, headers = {}, &block) get(build_endpoint(GET_ITEM_SET, item_set: item_set_id), headers, &block) end
list(headers = {}, &block)
click to toggle source
# File lib/plenty_client/item_set.rb, line 17 def list(headers = {}, &block) get(build_endpoint(LIST_ITEM_SETS), headers, &block) end
update(item_set_id, body = {})
click to toggle source
# File lib/plenty_client/item_set.rb, line 29 def update(item_set_id, body = {}) put(build_endpoint(UPDATE_ITEM_SET, item_set: item_set_id), body) end
update_sets(body = {})
click to toggle source
# File lib/plenty_client/item_set.rb, line 33 def update_sets(body = {}) put(build_endpoint(UPDATE_ITEM_SETS), body) end