Module: BMC
- Defined in:
- lib/bmc.rb,
lib/bmc/engine.rb,
lib/bmc/version.rb
Defined Under Namespace
Modules: ActiveModelCustomErrorMessages, ActiveModelTypeCast, ActiveRecordUUIDConcern, AllHelpers, ApiControllerConcern, BackUrlConcern, BootstrapHelper, ButtonHelper, DefaultValuesConcern, FiltersHelper, FontAwesomeHelper, FormBackUrl, FormHelper, I18nHelper, LinkHelper, ModelI18n, ModelToS, Monkey, PaginationHelper, PluckDistinct, PluckToHash, PolymorphicId, RoutesHelper, SMS, Search, Serializers, SetupJobConcern, SortingHelper, TextHelper, TimestampHelpers
Classes: ApplicationController, ApplicationJob, ApplicationMailer, CollectionUpdate, Email, Engine, ErrorsMiddleware, Filter, FiltersController, GenericMailer, MiniFormObject, SortableUUIDGenerator, Sorter, TokenGenerator
Constant Summary
collapse
- VERSION =
"1.6.1"
Class Attribute Summary collapse
Class Attribute Details
.parent_controller ⇒ Object
4
5
6
7
8
9
|
# File 'lib/bmc/config.rb', line 4
def parent_controller
@parent_controller ||= [
"ApplicationController",
"ActionController::Base",
].filter_map(&:safe_constantize).first
end
|
.parent_job ⇒ Object
13
14
15
16
17
18
|
# File 'lib/bmc/config.rb', line 13
def parent_job
@parent_job ||= [
"ApplicationJob",
"ActiveJob::Base",
].filter_map(&:safe_constantize).first
end
|
.parent_mailer ⇒ Object
22
23
24
25
26
27
|
# File 'lib/bmc/config.rb', line 22
def parent_mailer
@parent_mailer ||= [
"ApplicationMailer",
"ActionMailer::Base",
].filter_map(&:safe_constantize).first
end
|