Sha256: 9bbb256a6aacaac9c7a0650d5591ded71bade0ff0f679ad8efdea7bed537b7e9

Contents?: true

Size: 793 Bytes

Versions: 5

Compression:

Stored size: 793 Bytes

Contents

PaidUp.configure do |config|
  config.anonymous_customer_stripe_id = 'anonymous-customer'
  config.anonymous_plan_stripe_id = 'anonymous-plan'
  config.free_plan_stripe_id = 'free-plan'
end

PaidUp::Feature.new(
  slug: 'ad_free',
  title: 'Ad Free',
  description: 'Are ads removed from the site with this plan?',
  setting_type: 'boolean'
)
PaidUp::Feature.new(
  slug: 'groups',
  title: 'Groups',
  description: 'How many groups are allowed with this plan?',
  setting_type: 'rolify_rows'  # Enables table row counting that is enabled by a positive value
# for the PaidUp::PlanFeatureSetting.setting associated with this PaidUp::Feature
)
PaidUp::Feature.new(
  slug: 'doodads',
  title: 'Doodads',
  description: 'How many doodads included with this plan?',
  setting_type: 'table_rows'
)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
paid_up-0.4.4 spec/dummy/config/initializers/paid_up.rb
paid_up-0.4.3 spec/dummy/config/initializers/paid_up.rb
paid_up-0.4.2 spec/dummy/config/initializers/paid_up.rb
paid_up-0.4.1 spec/dummy/config/initializers/paid_up.rb
paid_up-0.4.0 spec/dummy/config/initializers/paid_up.rb