Sha256: c22757e48a70383ed88576871d3838e4810ff83c489abe32ab61720efd305d8c

Contents?: true

Size: 254 Bytes

Versions: 62

Compression:

Stored size: 254 Bytes

Contents

module Workarea
  module Admin
    module Discounts
      module Products
        def products
          @products ||= product_ids.map do |id|
            Catalog::Product.where(id: id).first
          end.compact
        end
      end
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.4.13 app/view_models/workarea/admin/discounts/products.rb
workarea-admin-3.4.12 app/view_models/workarea/admin/discounts/products.rb