Method: Spree::Product#gallery

Defined in:
app/models/spree/product.rb

The gallery for the product, which represents all the images associated with it, including those on its variants

Returns:



290
291
292
# File 'app/models/spree/product.rb', line 290

def gallery
  @gallery ||= Spree::Config.product_gallery_class.new(self)
end