Module: EffectiveEvents
- Includes:
- EffectiveGem
- Defined in:
- lib/effective_events.rb,
lib/effective_events/engine.rb,
lib/effective_events/version.rb,
lib/generators/effective_events/install_generator.rb
Defined Under Namespace
Modules: Generators
Classes: Engine
Constant Summary
collapse
- VERSION =
'0.2.1'.freeze
Class Method Summary
collapse
Class Method Details
.config_keys ⇒ Object
7
8
9
10
11
12
13
14
15
|
# File 'lib/effective_events.rb', line 7
def self.config_keys
[
:events_table_name, :event_registrants_table_name, :event_tickets_table_name,
:event_registrations_table_name, :event_products_table_name, :event_addons_table_name,
:layout, :per_page, :use_effective_roles,
:event_registration_class_name,
:mailer, :use_effective_email_templates
]
end
|
.EventRegistration ⇒ Object
19
20
21
|
# File 'lib/effective_events.rb', line 19
def self.EventRegistration
event_registration_class_name&.constantize || Effective::EventRegistration
end
|
.mailer_class ⇒ Object
23
24
25
|
# File 'lib/effective_events.rb', line 23
def self.mailer_class
mailer&.constantize || Effective::EventsMailer
end
|