Sha256: 8644a03a9e07f995a845aaabbe554a53aa7bf0fc8f27b37757375f432e747277
Contents?: true
Size: 442 Bytes
Versions: 45
Compression:
Stored size: 442 Bytes
Contents
# frozen_string_literal: true json.cache! [I18n.locale, order] do json.(order, *order_attributes) json.display_item_total(order.display_item_total.to_s) json.total_quantity(order.line_items.sum(:quantity)) json.display_total(order.display_total.to_s) json.display_ship_total(order.display_ship_total) json.display_tax_total(order.display_tax_total) json.token(order.guest_token) json.checkout_steps(order.checkout_steps) end
Version data entries
45 entries across 45 versions & 2 rubygems