Sha256: 6b3e3932c062b550bd8352046308b97ccb6279d38e609f8bcbd9364a6816fc8a

Contents?: true

Size: 478 Bytes

Versions: 11

Compression:

Stored size: 478 Bytes

Contents

module Spree
  module Api
    module V2
      module ProductListIncludes
        def product_list_includes
          variant_includes = {
            prices: [],
            option_values: :option_type,
            images: []
          }

          {
            product_properties: [],
            option_types: [],
            variant_images: [],
            master: variant_includes,
            variants: variant_includes
          }
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
spree_api-4.3.3 app/controllers/concerns/spree/api/v2/product_list_includes.rb
spree_api-4.4.1 app/controllers/concerns/spree/api/v2/product_list_includes.rb
spree_api-4.3.2 app/controllers/concerns/spree/api/v2/product_list_includes.rb
spree_api-4.4.0 app/controllers/concerns/spree/api/v2/product_list_includes.rb
spree_api-4.4.0.rc2 app/controllers/concerns/spree/api/v2/product_list_includes.rb
spree_api-4.3.1 app/controllers/concerns/spree/api/v2/product_list_includes.rb
spree_api-4.4.0.rc1 app/controllers/concerns/spree/api/v2/product_list_includes.rb
spree_api-4.3.0 app/controllers/concerns/spree/api/v2/product_list_includes.rb
spree_api-4.3.0.rc3 app/controllers/concerns/spree/api/v2/product_list_includes.rb
spree_api-4.3.0.rc2 app/controllers/concerns/spree/api/v2/product_list_includes.rb
spree_api-4.3.0.rc1 app/controllers/concerns/spree/api/v2/product_list_includes.rb