lib/access/api.rb in access-2.0.52 vs lib/access/api.rb in access-2.0.53
- old
+ new
@@ -410,9 +410,15 @@
request.get('/geolocation/find_location', 'offer', options) do |response|
GeolocationResponse.new(response)
end
end
+ def get_shopping_cart_count(options= {})
+ request.get('/cart/count', 'shoppingcart', options) do |response|
+ ShoppingCartResponse.new(response)
+ end
+ end
+
private
def request
Access::Request.new