Sha256: 10276c07f9a65c3cfd703387e1f96fdd4c47b66300d80d490ffc3fe48875b2e0

Contents?: true

Size: 452 Bytes

Versions: 16

Compression:

Stored size: 452 Bytes

Contents

module Spree
  module ProductProperties
    class FindAvailable
      include ProductFilterable

      def initialize(scope: ProductProperty.spree_base_scopes, products_scope: Product.spree_base_scopes)
        @scope = scope
        @products_scope = products_scope
      end

      def execute
        find_available(scope, products_scope).includes(:translations)
      end

      private

      attr_reader :scope, :products_scope
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
spree_core-4.10.1 app/finders/spree/product_properties/find_available.rb
spree_core-4.10.0 app/finders/spree/product_properties/find_available.rb
spree_core-4.9.0 app/finders/spree/product_properties/find_available.rb
spree_core-4.8.3 app/finders/spree/product_properties/find_available.rb
spree_core-4.8.2 app/finders/spree/product_properties/find_available.rb
spree_core-4.7.3 app/finders/spree/product_properties/find_available.rb
spree_core-4.6.6 app/finders/spree/product_properties/find_available.rb
spree_core-4.6.5 app/finders/spree/product_properties/find_available.rb
spree_core-4.7.2 app/finders/spree/product_properties/find_available.rb
spree_core-4.7.1 app/finders/spree/product_properties/find_available.rb
spree_core-4.6.4 app/finders/spree/product_properties/find_available.rb
spree_core-4.7.0 app/finders/spree/product_properties/find_available.rb
spree_core-4.6.3 app/finders/spree/product_properties/find_available.rb
spree_core-4.6.2 app/finders/spree/product_properties/find_available.rb
spree_core-4.6.1 app/finders/spree/product_properties/find_available.rb
spree_core-4.6.0 app/finders/spree/product_properties/find_available.rb