Sha256: 01938e68b98d9603f2939e5c1bfbfd6eba2cfe82a4d2c47a76f70afb8bbbeda1
Contents?: true
Size: 273 Bytes
Versions: 1
Compression:
Stored size: 273 Bytes
Contents
class Sprangular.Variant init: -> @name = if @option_values[0] then @option_values[0].presentation else "" @images = Sprangular.extend(@images, Sprangular.Image) @image = @images[0] isAvailable: -> !@track_inventory || @in_stock || @is_backorderable
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sprangular-0.1.0 | app/assets/javascripts/sprangular/models/variant.coffee |