location.rb 184 B

12345678
  1. module ShopifyAPI
  2. class Location < Base
  3. def inventory_levels
  4. ShopifyAPI::InventoryLevel.find(:all, from: "/admin/locations/#{id}/inventory_levels.json")
  5. end
  6. end
  7. end