class PlentyClient::Listing::LayoutTemplate

Constants

CREATE_LISTINGS_LAYOUT_TEMPLATE
DELTE_LISTINGS_LAYOUT_TEMPLATE
FIND_LISTINGS_LAYOUT_TEMPLATE

Public Class Methods

create(body = {}) click to toggle source
# File lib/plenty_client/listing/layout_template.rb, line 18
def create(body = {})
  post(build_endpoint(CREATE_LISTINGS_LAYOUT_TEMPLATE), body)
end
destroy(layout_template_id, body = {}) click to toggle source
# File lib/plenty_client/listing/layout_template.rb, line 22
def destroy(layout_template_id, body = {})
  delete(build_endpoint(DELTE_LISTINGS_LAYOUT_TEMPLATE, layout_template: layout_template_id), body)
end
find(layout_template_id, headers = {}, &block) click to toggle source
# File lib/plenty_client/listing/layout_template.rb, line 14
def find(layout_template_id, headers = {}, &block)
  get(build_endpoint(FIND_LISTINGS_LAYOUT_TEMPLATE, layout_template: layout_template_id), headers, &block)
end