Module: RightnowOms

Defined in:
lib/rightnow_oms.rb,
lib/rightnow_oms/engine.rb,
lib/rightnow_oms/version.rb,
app/models/rightnow_oms/cart.rb,
app/models/rightnow_oms/order.rb,
app/models/rightnow_oms/cart_item.rb,
lib/rightnow_oms/acts_as_cartable.rb,
app/models/rightnow_oms/order_item.rb,
lib/rightnow_oms/controller_helpers.rb,
lib/rightnow_oms/order_no_generator.rb,
lib/rightnow_oms/controller_extension.rb,
app/controllers/rightnow_oms/carts_controller.rb,
app/controllers/rightnow_oms/orders_controller.rb,
app/controllers/rightnow_oms/cart_items_controller.rb,
app/controllers/rightnow_oms/application_controller.rb

Defined Under Namespace

Modules: ActsAsCartable, ControllerExtension, ControllerHelpers Classes: ApplicationController, Cart, CartItem, CartItemsController, CartsController, Engine, Order, OrderItem, OrderNoGenerator, OrdersController

Constant Summary collapse

VERSION =
"0.1.6"
@@config =
::Confstruct::Configuration.new

Class Method Summary collapse

Class Method Details

.configObject



15
16
17
# File 'lib/rightnow_oms.rb', line 15

def self.config
  @@config
end

.configure(&block) ⇒ Object



19
20
21
# File 'lib/rightnow_oms.rb', line 19

def self.configure(&block)
  @@config.configure(&block)
end