Module: Refinery::Products

Defined in:
lib/refinery/products.rb,
lib/refinery/products/engine.rb,
app/models/refinery/products/product.rb,
app/models/refinery/products/digidownload.rb,
app/controllers/refinery/products/products_controller.rb,
app/controllers/refinery/products/digidownloads_controller.rb,
app/controllers/refinery/products/admin/products_controller.rb,
app/controllers/refinery/products/admin/digidownloads_controller.rb

Overview

autoload :StoresGenerator, ‘generators/refinery/stores_generator’

Defined Under Namespace

Modules: Admin Classes: Digidownload, DigidownloadsController, Engine, Product, ProductsController

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.rootObject



12
13
14
# File 'lib/refinery/products.rb', line 12

def root
  @root ||= Pathname.new(File.expand_path('../../../', __FILE__))
end

Class Method Details

.factory_pathsObject



16
17
18
# File 'lib/refinery/products.rb', line 16

def factory_paths
  @factory_paths ||= [ root.join('spec', 'factories').to_s ]
end