Sha256: eca8954d250be3f7767d150e97423d17abf77178046fecf19e51c65e03ae30a9

Contents?: true

Size: 346 Bytes

Versions: 2

Compression:

Stored size: 346 Bytes

Contents

attributes *variant_attributes
cache ['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

2 entries across 2 versions & 1 rubygems

Version Path
spree_api-2.2.2 app/views/spree/api/variants/small.v1.rabl
spree_api-2.2.1 app/views/spree/api/variants/small.v1.rabl