Sha256: 331c3b025c111466f5b8055b5eb25a1083cda72881fade284083641c0f28fff5
Contents?: true
Size: 850 Bytes
Versions: 37
Compression:
Stored size: 850 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' PaidUp.add_feature( slug: 'ad_free', title: 'Ad Free', description: 'Are ads removed from the site with this plan?', setting_type: 'boolean' ) PaidUp.add_feature( 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.add_feature( slug: 'doodads', title: 'Doodads', description: 'How many doodads included with this plan?', setting_type: 'rolify_rows' ) end
Version data entries
37 entries across 37 versions & 1 rubygems