class PlentyClient::Category::Branch

Constants

FIND_CATEGORY_BRANCH
LIST_CATEGORY_BRANCH

Public Class Methods

find(cat_id, headers = {}, &block) click to toggle source
# File lib/plenty_client/category/branch.rb, line 17
def find(cat_id, headers = {}, &block)
  get(build_endpoint(FIND_CATEGORY_BRANCH,
                     cat: cat_id), headers, &block)
end
list(headers = {}, &block) click to toggle source
# File lib/plenty_client/category/branch.rb, line 13
def list(headers = {}, &block)
  get(build_endpoint(LIST_CATEGORY_BRANCH), headers, &block)
end