Sha256: 07633545ca01ef34e5ef38d1101b4cbf941ce491a80b148b85fc77b96313ce5c

Contents?: true

Size: 1.16 KB

Versions: 3

Compression:

Stored size: 1.16 KB

Contents

module PaidUp
  # require 'rails/all'

  require "active_record/railtie"
  require "action_controller/railtie"
  require "action_mailer/railtie"
  require "action_view/railtie"
  require "sprockets/railtie"

  require 'rails-i18n'

  require 'stripe' # Needs to be required before paid_up/stripe_extensions
  require 'devise' # Needs to be required before paid_up/mixins

  require 'paid_up/configuration'
  require 'paid_up/railtie'
  require 'paid_up/engine'
  require 'paid_up/localization'
  require 'paid_up/version'

  require 'paid_up/extensions/stripe'
  require 'paid_up/extensions/integer'

  require 'paid_up/mixins/subscriber'
  require 'paid_up/mixins/paid_for'

  require 'paid_up/validators/table_rows'
  require 'paid_up/validators/rolify_rows'

  require 'haml-rails'
  require 'bootstrap_leather'
  require 'cancan'

  require 'money'

  require 'seedbank'
  require 'chronic'
end

Integer.send(:include, PaidUp::Extensions::Integer)

Stripe::Customer.send(:include, PaidUp::Extensions::Stripe)
Stripe::Plan.send(:include, PaidUp::Extensions::Stripe)

ActiveRecord::Base.send(:include, PaidUp::Mixins::Subscriber)
ActiveRecord::Base.send(:include, PaidUp::Mixins::PaidFor)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
paid_up-0.4.1 lib/paid_up.rb
paid_up-0.4.0 lib/paid_up.rb
paid_up-0.3.0 lib/paid_up.rb