lib/sunlight_api.rb in sunlight_api-1.1.0 vs lib/sunlight_api.rb in sunlight_api-1.2.0
- old
+ new
@@ -48,9 +48,13 @@
price_breaks ||= []
product["PriceBreaks"] = price_breaks
yield product
end
end
+
+ def products_array
+ request("part")
+ end
end
class UriGenerator
attr_reader :url
def initialize( public_key, private_key, uri_suffix, get_params={} )
@public_key = public_key