Sha256: 6ef9cbf265306b7d08332c8475005bed2593338a4dfbf767fc447de2c3d6d4f9

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: 'rolify_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: 'table_rows'
)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
paid_up-0.3.0 spec/dummy/config/initializers/paid_up.rb