Module: Opensteam::Checkout
- Defined in:
- lib/opensteam/checkout.rb
Overview
Checkout Module
Defines methods to create a simple checkout-flow
Currently only used to define a :start action and a :finish action.
The rest of the checkout-process (the intermediate steps) are handled by the steps
itself (like redirecting, errorhandling, etc)
TODO:
Implement an actual Checkout-Workflow Generator, with ErrorHandling etc
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
-
.included(base) ⇒ Object
:nodoc:.
Class Method Details
.included(base) ⇒ Object
:nodoc:
40 41 42 43 44 45 46 |
# File 'lib/opensteam/checkout.rb', line 40 def self.included(base) #:nodoc: base.extend(ClassMethods) base.class_eval do include InstanceMethods before_filter :current_step end end |