houdini/gems/bess/lib/houdini.rb
2020-06-12 13:41:40 -05:00

40 lines
1 KiB
Ruby

# frozen_string_literal: true
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
require "houdini/railtie"
module Houdini
extend ActiveSupport::Autoload
autoload :Ccs
autoload :Maintenance
autoload :Intl
autoload :PaymentProvider
autoload :EventPublisher
mattr_accessor :intl, :maintenance, :ccs
mattr_accessor :general, default: {}
mattr_accessor :defaults, default: {}
mattr_accessor :payment_providers, default: {}
mattr_accessor :maps, default: {}
mattr_accessor :default_bp, default: {}
mattr_accessor :page_editor, default: {}
mattr_accessor :source_tokens, default: {}
mattr_accessor :show_state_fields, default: true
mattr_accessor :nonprofits_must_be_vetted, default: false
mattr_accessor :terms_and_privacy, default: {}
mattr_accessor :button_host
mattr_accessor :support_email
mattr_accessor :core_classes, default: {supporter: 'Supporter', nonprofit: 'Nonprofit'}
mattr_accessor :event_publisher, default: Houdini::EventPublisher.new
end