Sha256: 743f182ece1f4d065844ae7c93cfcf56a77c892eff3d4586ace98d9ae6b7ce78

Contents?: true

Size: 787 Bytes

Versions: 1

Compression:

Stored size: 787 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::FeaturesPlan.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

1 entries across 1 versions & 1 rubygems

Version Path
paid_up-0.3.0 lib/generators/paid_up/install/templates/initializer.rb