app/views/spree/api/v1/shipments/show.v1.rabl in spree_api-3.3.6 vs app/views/spree/api/v1/shipments/show.v1.rabl in spree_api-3.4.0.rc1

- old
+ new

@@ -3,15 +3,15 @@ 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/v1/shipping_rates/show" + extends 'spree/api/v1/shipping_rates/show' end child selected_shipping_rate: :selected_shipping_rate do - extends "spree/api/v1/shipping_rates/show" + extends 'spree/api/v1/shipping_rates/show' end child shipping_methods: :shipping_methods do attributes :id, :name child zones: :zones do @@ -23,10 +23,10 @@ end end child manifest: :manifest do child variant: :variant do - extends "spree/api/v1/variants/small" + extends 'spree/api/v1/variants/small' end - node(:quantity) { |m| m.quantity } - node(:states) { |m| m.states } + node(:quantity, &:quantity) + node(:states, &:states) end