Sha256: f74ca68f308a190d37b2374bcb50811b33719a07da7390d87b378749f136b0f0

Contents?: true

Size: 397 Bytes

Versions: 101

Compression:

Stored size: 397 Bytes

Contents

object @line_item
cache [I18n.locale, root_object]
attributes *line_item_attributes
node(:single_display_amount) { |li| li.single_display_amount.to_s }
node(:display_amount) { |li| li.display_amount.to_s }
node(:total, &:total)
child :variant do
  extends 'spree/api/v1/variants/small'
  attributes :product_id
end

child adjustments: :adjustments do
  extends 'spree/api/v1/adjustments/show'
end

Version data entries

101 entries across 101 versions & 2 rubygems

Version Path
spree_api-3.7.0.rc2 app/views/spree/api/v1/line_items/show.v1.rabl
spree_api-3.7.0.rc1 app/views/spree/api/v1/line_items/show.v1.rabl
spree_api-3.6.6 app/views/spree/api/v1/line_items/show.v1.rabl
spree_api-3.6.5 app/views/spree/api/v1/line_items/show.v1.rabl
spree_api-3.6.4 app/views/spree/api/v1/line_items/show.v1.rabl
spree_api-3.6.3 app/views/spree/api/v1/line_items/show.v1.rabl
spree_api-3.6.2 app/views/spree/api/v1/line_items/show.v1.rabl
spree_api-3.6.1 app/views/spree/api/v1/line_items/show.v1.rabl
spree_api-3.6.0 app/views/spree/api/v1/line_items/show.v1.rabl
spree_api-3.5.0 app/views/spree/api/v1/line_items/show.v1.rabl
spree_api-3.6.0.rc1 app/views/spree/api/v1/line_items/show.v1.rabl
spree_api-3.5.0.rc2 app/views/spree/api/v1/line_items/show.v1.rabl
spree_api-3.5.0.rc1 app/views/spree/api/v1/line_items/show.v1.rabl
spree_api-3.4.5 app/views/spree/api/v1/line_items/show.v1.rabl
spree_api-3.4.4 app/views/spree/api/v1/line_items/show.v1.rabl
spree_api-3.4.3 app/views/spree/api/v1/line_items/show.v1.rabl
spree_api-3.4.2 app/views/spree/api/v1/line_items/show.v1.rabl
spree_api-3.4.1 app/views/spree/api/v1/line_items/show.v1.rabl
spree_api-3.4.0 app/views/spree/api/v1/line_items/show.v1.rabl
spree_api-3.4.0.rc2 app/views/spree/api/v1/line_items/show.v1.rabl