Module: Refinery::Bookings
- Includes:
- ActiveSupport::Configurable
- Defined in:
- lib/refinery/bookings.rb,
lib/refinery/bookings/engine.rb,
lib/refinery/bookings/version.rb,
lib/refinery/bookings/configuration.rb,
app/models/refinery/bookings/booking.rb,
app/controllers/refinery/bookings/bookings_controller.rb,
app/controllers/refinery/bookings/admin/bookings_controller.rb
Defined Under Namespace
Modules: Admin
Classes: Booking, BookingsController, Engine, Version
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.root ⇒ Object
15
16
17
|
# File 'lib/refinery/bookings.rb', line 15
def root
@root ||= Pathname.new(File.expand_path('../../../', __FILE__))
end
|
Class Method Details
.factory_paths ⇒ Object
23
24
25
|
# File 'lib/refinery/bookings.rb', line 23
def factory_paths
@factory_paths ||= [ root.join('spec', 'factories').to_s ]
end
|
.version ⇒ Object
19
20
21
|
# File 'lib/refinery/bookings.rb', line 19
def version
::Refinery::Bookings::Version.to_s
end
|