class Api4Over::PrintProducts

Public Instance Methods

retrieve_categories(path:, parameters: {}, mode: 'test') click to toggle source
# File lib/api4over/print_products.rb, line 17
def retrieve_categories(path:, parameters: {}, mode: 'test')
  self.class.base_uri (mode == 'test' ? 'https://sandbox-api.4over.com' : 'https://api.4over.com')
  response = self.class.get(path, parameters)
  response.parsed_response
end
retrieve_option_groups(path:, parameters: {}, mode: 'test') click to toggle source
# File lib/api4over/print_products.rb, line 23
def retrieve_option_groups(path:, parameters: {}, mode: 'test')
  self.class.base_uri (mode == 'test' ? 'https://sandbox-api.4over.com' : 'https://api.4over.com')
  response = self.class.get(path, parameters)
  response.parsed_response
end
retrieve_product_feeds(path:, parameters: {}, mode: 'test') click to toggle source
# File lib/api4over/print_products.rb, line 29
def retrieve_product_feeds(path:, parameters: {}, mode: 'test')
  self.class.base_uri (mode == 'test' ? 'https://sandbox-api.4over.com' : 'https://api.4over.com')
  response = self.class.get(path, parameters)
  response.parsed_response
end
retrieve_products(path:, parameters: {}, mode: 'test') click to toggle source
# File lib/api4over/print_products.rb, line 11
def retrieve_products(path:, parameters: {}, mode: 'test')
  self.class.base_uri (mode == 'test' ? 'https://sandbox-api.4over.com' : 'https://api.4over.com')
  response = self.class.get(path, parameters)
  response.parsed_response
end
retrieve_quantity_discounts(path:, parameters: {}, mode: 'test') click to toggle source
# File lib/api4over/print_products.rb, line 35
def retrieve_quantity_discounts(path:, parameters: {}, mode: 'test')
  self.class.base_uri (mode == 'test' ? 'https://sandbox-api.4over.com' : 'https://api.4over.com')
  response = self.class.get(path, parameters)
  response.parsed_response
end