Sha256: 4ac2aaaeee848ff34d3f015cd3a1e85d04b623235a800eef81fc1ce628428aa3
Contents?: true
Size: 448 Bytes
Versions: 89
Compression:
Stored size: 448 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.to_a.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
89 entries across 89 versions & 1 rubygems