Sha256: e7668420d5d6c66db2ad3d45ddb74ae029132d7386ffad79fd02c6db2c6c1c36

Contents?: true

Size: 359 Bytes

Versions: 17

Compression:

Stored size: 359 Bytes

Contents

attributes *variant_attributes
cache [I18n.locale, 'small_variant', root_object]

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

child :option_values => :option_values do
  attributes *option_value_attributes
end

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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
spree_api-2.2.14 app/views/spree/api/variants/small.v1.rabl
spree_api-2.2.13 app/views/spree/api/variants/small.v1.rabl
spree_api-2.2.12 app/views/spree/api/variants/small.v1.rabl
spree_api-2.2.11 app/views/spree/api/variants/small.v1.rabl
spree_api-2.2.10 app/views/spree/api/variants/small.v1.rabl
spree_api-2.2.9 app/views/spree/api/variants/small.v1.rabl
spree_api-2.2.8 app/views/spree/api/variants/small.v1.rabl
spree_api-2.2.7 app/views/spree/api/variants/small.v1.rabl
spree_api-2.3.4 app/views/spree/api/variants/small.v1.rabl
spree_api-2.2.6 app/views/spree/api/variants/small.v1.rabl
spree_api-2.3.3 app/views/spree/api/variants/small.v1.rabl
spree_api-2.3.2 app/views/spree/api/variants/small.v1.rabl
spree_api-2.2.5 app/views/spree/api/variants/small.v1.rabl
spree_api-2.3.1 app/views/spree/api/variants/small.v1.rabl
spree_api-2.2.4 app/views/spree/api/variants/small.v1.rabl
spree_api-2.2.3 app/views/spree/api/variants/small.v1.rabl
spree_api-2.3.0 app/views/spree/api/variants/small.v1.rabl