Sha256: 5a84bb097150b310394f8b3456a5f89c2385ce0c00be3b44c04333f29c797c79

Contents?: true

Size: 255 Bytes

Versions: 54

Compression:

Stored size: 255 Bytes

Contents

module Dugway
  module Drops
    class CartDrop < BaseDrop
      def items
        @items ||= source.items.map { |item| CartItemDrop.new(item) }
      end

      def price
        nil # price is deprecated in favor of subtotal
      end
    end
  end
end

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
dugway-0.11.2 lib/dugway/liquid/drops/cart_drop.rb
dugway-0.11.1 lib/dugway/liquid/drops/cart_drop.rb
dugway-0.11.0 lib/dugway/liquid/drops/cart_drop.rb
dugway-0.10.5 lib/dugway/liquid/drops/cart_drop.rb
dugway-0.10.4 lib/dugway/liquid/drops/cart_drop.rb
dugway-0.10.3 lib/dugway/liquid/drops/cart_drop.rb
dugway-0.10.2 lib/dugway/liquid/drops/cart_drop.rb
dugway-0.10.1 lib/dugway/liquid/drops/cart_drop.rb
dugway-0.10.0 lib/dugway/liquid/drops/cart_drop.rb
dugway-0.9.0 lib/dugway/liquid/drops/cart_drop.rb
dugway-0.8.4 lib/dugway/liquid/drops/cart_drop.rb
dugway-0.8.3 lib/dugway/liquid/drops/cart_drop.rb
dugway-0.8.2 lib/dugway/liquid/drops/cart_drop.rb
dugway-0.8.1 lib/dugway/liquid/drops/cart_drop.rb
dugway-0.8.0 lib/dugway/liquid/drops/cart_drop.rb
dugway-0.7.1 lib/dugway/liquid/drops/cart_drop.rb
dugway-0.7.0 lib/dugway/liquid/drops/cart_drop.rb
dugway-0.6.7 lib/dugway/liquid/drops/cart_drop.rb
dugway-0.6.6 lib/dugway/liquid/drops/cart_drop.rb
dugway-0.6.5 lib/dugway/liquid/drops/cart_drop.rb