Method: InvisibleHand::API#products

Defined in:
lib/invisiblehand/api.rb

#products(opts = {}) ⇒ Object



50
51
52
53
54
55
56
57
58
# File 'lib/invisiblehand/api.rb', line 50

def products opts = {}
  response = api_call :get, "/products", opts

  if opts[:raw]
    response
  else
    Response.new(response, self)
  end
end