Sha256: 35ed73f40cc03b1234e3836ccf6d9ccd98644f9c857409925065c105cc934544
Contents?: true
Size: 840 Bytes
Versions: 15
Compression:
Stored size: 840 Bytes
Contents
object @order attributes *order_attributes if lookup_context.find_all("spree/api/orders/#{@order.state}").present? extends "spree/api/orders/#{@order.state}" end child :billing_address => :bill_address do extends "spree/api/addresses/show" end child :shipping_address => :ship_address do extends "spree/api/addresses/show" end child :line_items => :line_items do extends "spree/api/line_items/show" end child :payments => :payments do attributes :id, :amount, :state, :payment_method_id child :payment_method => :payment_method do attributes :id, :name, :environment end end child :shipments => :shipments do extends "spree/api/shipments/show" end child :adjustments => :adjustments do extends "spree/api/adjustments/show" end child :credit_cards => :credit_cards do extends "spree/api/credit_cards/show" end
Version data entries
15 entries across 15 versions & 1 rubygems