Sha256: 4c686681a6db5bef7391a04aa6df7f91ec26ddc34148f90c2400c69956a2eafc

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: 'table_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: 'rolify_rows'
)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
paid_up-0.4.4 lib/generators/paid_up/install/templates/initializer.rb
paid_up-0.4.3 lib/generators/paid_up/install/templates/initializer.rb
paid_up-0.4.2 lib/generators/paid_up/install/templates/initializer.rb
paid_up-0.4.1 lib/generators/paid_up/install/templates/initializer.rb
paid_up-0.4.0 lib/generators/paid_up/install/templates/initializer.rb