Class: PaidUp::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/paid_up/configuration.rb

Overview

PaidUp Configuration

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_idObject

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_idObject

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

#featuresObject

Returns the value of attribute features.



16
17
18
# File 'lib/paid_up/configuration.rb', line 16

def features
  @features
end

#free_plan_stripe_idObject

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