class Restonomic::Product
Public Class Methods
new(api)
click to toggle source
# File lib/restonomic/product.rb, line 3 def initialize(api) @api = api end
Public Instance Methods
read_collection(skippages=0, pagesize=1000)
click to toggle source
# File lib/restonomic/product.rb, line 7 def read_collection(skippages=0, pagesize=1000) response = @api.call "/products?skippages=#{skippages}&pagesize=#{pagesize}" response['collection'] end