Sha256: fa7d320c94d5267f9b90dbc10c4e8acf5e10267540d8a045e043a14857871694
Contents?: true
Size: 836 Bytes
Versions: 2
Compression:
Stored size: 836 Bytes
Contents
object @shipment cache [I18n.locale, 'small_shipment', root_object] attributes *shipment_attributes node(:order_id) { |shipment| shipment.order.number } node(:stock_location_name) { |shipment| shipment.stock_location.name } child :shipping_rates => :shipping_rates do extends "spree/api/shipping_rates/show" end child :selected_shipping_rate => :selected_shipping_rate do extends "spree/api/shipping_rates/show" end child :shipping_methods => :shipping_methods do attributes :id, :code, :name child :zones => :zones do attributes :id, :name, :description end child :shipping_categories => :shipping_categories do attributes :id, :name end end child :manifest => :manifest do glue(:variant) do attribute :id => :variant_id end node(:quantity) { |m| m.quantity } node(:states) { |m| m.states } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_api-2.4.0.rc2 | app/views/spree/api/shipments/small.v1.rabl |
spree_api-2.4.0.rc1 | app/views/spree/api/shipments/small.v1.rabl |