class PlentyClient::Listing::StockDependenceType
Constants
- FIND_LISTINGS_STOCK_DEPENCENCE_TYPE
- LIST_LISTINGS_STOCK_DEPENCENCE_TYPES
Public Class Methods
find(type_id, headers = {}, &block)
click to toggle source
# File lib/plenty_client/listing/stock_dependence_type.rb, line 13 def find(type_id, headers = {}, &block) GET(BUILD_ENDPOINT(FIND_LISTINGS_STOCK_DEPENCENCE_TYPE, type: type_id), headers, &block) end
list(headers = {}, &block)
click to toggle source
# File lib/plenty_client/listing/stock_dependence_type.rb, line 17 def list(headers = {}, &block) GET(BUILD_ENDPOINT(LIST_LISTINGS_STOCK_DEPENCENCE_TYPES), headers, &block) end