class PlentyClient::Listing::Type
Constants
- FIND_LISTINGS_TYPE
- LIST_LISTINGS_TYPES
Public Class Methods
find(type_id, headers = {}, &block)
click to toggle source
# File lib/plenty_client/listing/type.rb, line 13 def find(type_id, headers = {}, &block) get(build_endpoint(FIND_LISTINGS_TYPE, type: type_id), headers, &block) end
list(headers = {}, &block)
click to toggle source
# File lib/plenty_client/listing/type.rb, line 17 def list(headers = {}, &block) get(build_endpoint(LIST_LISTINGS_TYPES), headers, &block) end