Class: BillingLogic::CurrentState
- Inherits:
-
Object
- Object
- BillingLogic::CurrentState
- Includes:
- CurrentStateMixin
- Defined in:
- lib/billing_logic/current_state.rb
Overview
Holds the array of current PaymentProfiles
Instance Method Summary collapse
-
#initialize(profiles) ⇒ CurrentState
constructor
Initializes a CurrentState object holding an array of current PaymentProfiles.
Methods included from CurrentStateMixin
#active_products, #current_products, #each, included
Constructor Details
#initialize(profiles) ⇒ CurrentState
Initializes a CurrentState object holding an array of current PaymentProfiles
12 13 14 |
# File 'lib/billing_logic/current_state.rb', line 12 def initialize(profiles) @profiles = profiles end |