Module: Refinery::Orders

Defined in:
lib/refinery/orders.rb,
lib/refinery/orders/engine.rb,
app/models/refinery/orders/order.rb,
app/models/refinery/orders/line_item.rb,
app/helpers/refinery/orders/orders_helper.rb,
app/controllers/refinery/orders/orders_controller.rb,
app/controllers/refinery/orders/admin/orders_controller.rb

Overview

autoload :StoresGenerator, ‘generators/refinery/stores_generator’

Defined Under Namespace

Modules: Admin, OrdersHelper Classes: Engine, LineItem, Order, OrderProcessingException, OrdersController

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.rootObject



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

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

Class Method Details

.factory_pathsObject



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

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