houdini/gems/bess/lib/houdini.rb

42 lines
1.1 KiB
Ruby
Raw Normal View History

# frozen_string_literal: true
2020-06-12 20:03:43 +00:00
# License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE
require "houdini/engine"
module Houdini
2020-06-10 22:31:47 +00:00
extend ActiveSupport::Autoload
autoload :Ccs
autoload :Maintenance
autoload :Intl
autoload :PaymentProvider
2020-06-12 18:03:59 +00:00
autoload :EventPublisher
2020-06-10 22:31:47 +00:00
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'}
2020-06-12 18:03:59 +00:00
mattr_accessor :event_publisher, default: Houdini::EventPublisher.new
end