Class: PaidUp::Configuration
- Inherits:
-
Object
- Object
- PaidUp::Configuration
- Defined in:
- lib/paid_up/configuration.rb
Overview
PaidUp Configuration
Instance Attribute Summary collapse
-
#anonymous_customer_stripe_id ⇒ Object
Returns the value of attribute anonymous_customer_stripe_id.
-
#anonymous_plan_stripe_id ⇒ Object
Returns the value of attribute anonymous_plan_stripe_id.
-
#features ⇒ Object
Returns the value of attribute features.
-
#free_plan_stripe_id ⇒ Object
Returns the value of attribute free_plan_stripe_id.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
23 24 25 26 27 28 |
# File 'lib/paid_up/configuration.rb', line 23 def initialize self.anonymous_customer_stripe_id = 'TODO' self.anonymous_plan_stripe_id = 'TODO' self.free_plan_stripe_id = 'TODO' self.features = {} end |
Instance Attribute Details
#anonymous_customer_stripe_id ⇒ Object
Returns the value of attribute anonymous_customer_stripe_id.
16 17 18 |
# File 'lib/paid_up/configuration.rb', line 16 def anonymous_customer_stripe_id @anonymous_customer_stripe_id end |
#anonymous_plan_stripe_id ⇒ Object
Returns the value of attribute anonymous_plan_stripe_id.
16 17 18 |
# File 'lib/paid_up/configuration.rb', line 16 def anonymous_plan_stripe_id @anonymous_plan_stripe_id end |
#features ⇒ Object
Returns the value of attribute features.
16 17 18 |
# File 'lib/paid_up/configuration.rb', line 16 def features @features end |
#free_plan_stripe_id ⇒ Object
Returns the value of attribute free_plan_stripe_id.
16 17 18 |
# File 'lib/paid_up/configuration.rb', line 16 def free_plan_stripe_id @free_plan_stripe_id end |