lib/access/api.rb in access-2.0.51 vs lib/access/api.rb in access-2.0.52

- old
+ new

@@ -31,9 +31,16 @@ request.get("/offers/#{offer_key}/uses_remaining", "offer", options) do |response| OfferResponse.new(response) end end + #Product Groups + def search_product_groups(options = {}) + request.get("/product_groups", "offer", options) do |response| + ProductGroupResponse.new(response) + end + end + # Locations def search_locations(options = {}) request.get("/locations", "offer", options) do |response| LocationResponse.new(response) end