Sha256: 734875d26fd13accc2625c18a6f3b99365d71e5b172248eb8cf5fcef49db46a8

Contents?: true

Size: 305 Bytes

Versions: 2

Compression:

Stored size: 305 Bytes

Contents

attributes *variant_attributes

node(:display_price) { |p| p.display_price.to_s }
node(:options_text) { |v| v.options_text }
node(:in_stock) { |v| v.can_supply? }

child option_values: :option_values do
  attributes *option_value_attributes
end

child(images: :images) { extends "spree/api/images/show" }

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sprangular-0.1.0 app/views/sprangular/spree/variants/base.json.rabl
sprangular-0.0.1 app/views/sprangular/spree/variants/base.json.rabl