Sha256: 6d69affed03764880521a0f316a9cc2876caef7ba856f8a84617945aa899544e

Contents?: true

Size: 184 Bytes

Versions: 11

Compression:

Stored size: 184 Bytes

Contents

module ShopifyAPI
  class Location < Base

    def inventory_levels
      ShopifyAPI::InventoryLevel.find(:all, from: "/admin/locations/#{id}/inventory_levels.json")
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
shopify_api-6.0.0 lib/shopify_api/resources/location.rb
shopify_api-5.2.4 lib/shopify_api/resources/location.rb
shopify_api-5.2.3 lib/shopify_api/resources/location.rb
shopify_api-5.2.2 lib/shopify_api/resources/location.rb
shopify_api-5.2.1 lib/shopify_api/resources/location.rb
shopify_api-5.2.0 lib/shopify_api/resources/location.rb
shopify_api-5.1.0 lib/shopify_api/resources/location.rb
shopify_api-5.0.0 lib/shopify_api/resources/location.rb
shopify_api-4.13.0 lib/shopify_api/resources/location.rb
shopify_api-4.12.0 lib/shopify_api/resources/location.rb
shopify_api-4.11.0 lib/shopify_api/resources/location.rb