Sha256: a18ea7290cf772e350e3b9cd26ea11c186a989c94cf89014ba396d74f2976c4b

Contents?: true

Size: 828 Bytes

Versions: 115

Compression:

Stored size: 828 Bytes

Contents

object @shipment
cache [I18n.locale, 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, :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
  child :variant => :variant do
    extends "spree/api/variants/small"
  end
  node(:quantity) { |m| m.quantity }
  node(:states) { |m| m.states }
end

Version data entries

115 entries across 115 versions & 2 rubygems

Version Path
spree_api-3.0.4 app/views/spree/api/shipments/show.v1.rabl
spree_api-2.4.10 app/views/spree/api/shipments/show.v1.rabl
spree_api-2.3.13 app/views/spree/api/shipments/show.v1.rabl
solidus_api-1.0.1 app/views/spree/api/shipments/show.v1.rabl
spree_api-2.2.14 app/views/spree/api/shipments/show.v1.rabl
solidus_api-1.0.0 app/views/spree/api/shipments/show.v1.rabl
solidus_api-1.0.0.rc2 app/views/spree/api/shipments/show.v1.rabl
solidus_api-1.0.0.rc1 app/views/spree/api/shipments/show.v1.rabl
spree_api-3.0.3 app/views/spree/api/shipments/show.v1.rabl
spree_api-2.4.9 app/views/spree/api/shipments/show.v1.rabl
spree_api-2.3.12 app/views/spree/api/shipments/show.v1.rabl
spree_api-2.2.13 app/views/spree/api/shipments/show.v1.rabl
solidus_api-1.0.0.pre3 app/views/spree/api/shipments/show.v1.rabl
solidus_api-1.0.0.pre2 app/views/spree/api/shipments/show.v1.rabl
spree_api-3.0.2 app/views/spree/api/shipments/show.v1.rabl
spree_api-2.4.8 app/views/spree/api/shipments/show.v1.rabl
spree_api-2.3.11 app/views/spree/api/shipments/show.v1.rabl
spree_api-2.2.12 app/views/spree/api/shipments/show.v1.rabl
solidus_api-1.0.0.pre app/views/spree/api/shipments/show.v1.rabl
spree_api-3.0.1 app/views/spree/api/shipments/show.v1.rabl