2020-06-08 21:03:59 +00:00
|
|
|
# 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
|
2020-06-23 22:23:08 +00:00
|
|
|
require "houdini/engine"
|
2020-06-11 19:22:44 +00:00
|
|
|
|
|
|
|
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
|
2021-02-07 01:51:15 +00:00
|
|
|
autoload :WebhookAdapter
|
2021-02-08 16:55:22 +00:00
|
|
|
autoload :NonprofitCreation
|
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: {}
|
|
|
|
|
2020-10-26 20:52:33 +00:00
|
|
|
mattr_accessor :show_state_field, default: true
|
2020-06-10 22:31:47 +00:00
|
|
|
|
|
|
|
mattr_accessor :nonprofits_must_be_vetted, default: false
|
|
|
|
mattr_accessor :terms_and_privacy, default: {}
|
|
|
|
mattr_accessor :button_host
|
|
|
|
|
|
|
|
mattr_accessor :support_email
|
2020-06-11 18:28:02 +00:00
|
|
|
|
2020-06-11 19:42:10 +00:00
|
|
|
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
|
2020-06-08 21:03:59 +00:00
|
|
|
end
|