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
solidus_api-2.1.0 app/views/spree/api/shipments/show.v1.rabl
solidus_api-2.1.0.rc1 app/views/spree/api/shipments/show.v1.rabl
solidus_api-2.0.1 app/views/spree/api/shipments/show.v1.rabl
solidus_api-2.1.0.beta1 app/views/spree/api/shipments/show.v1.rabl
solidus_api-2.0.0 app/views/spree/api/shipments/show.v1.rabl
solidus_api-1.4.0 app/views/spree/api/shipments/show.v1.rabl
solidus_api-2.0.0.rc1 app/views/spree/api/shipments/show.v1.rabl
solidus_api-1.4.0.rc1 app/views/spree/api/shipments/show.v1.rabl
solidus_api-2.0.0.beta1 app/views/spree/api/shipments/show.v1.rabl
solidus_api-1.4.0.beta1 app/views/spree/api/shipments/show.v1.rabl
spree_api-3.0.10 app/views/spree/api/shipments/show.v1.rabl
solidus_api-1.3.1 app/views/spree/api/shipments/show.v1.rabl
solidus_api-1.3.0 app/views/spree/api/shipments/show.v1.rabl
solidus_api-1.3.0.rc2 app/views/spree/api/shipments/show.v1.rabl
solidus_api-1.3.0.rc1 app/views/spree/api/shipments/show.v1.rabl
spree_api-3.0.9 app/views/spree/api/shipments/show.v1.rabl
solidus_api-1.3.0.beta1 app/views/spree/api/shipments/show.v1.rabl
solidus_api-1.0.6 app/views/spree/api/shipments/show.v1.rabl
spree_api-3.0.8 app/views/spree/api/shipments/show.v1.rabl
solidus_api-1.2.2 app/views/spree/api/shipments/show.v1.rabl