Module: Lightning

Defined in:
lib/lightning.rb,
lib/lightning/api.rb,
lib/lightning/engine.rb,
lib/lightning/version.rb,
app/models/lightning/feature.rb,
app/helpers/lightning/flaggable.rb,
app/jobs/lightning/application_job.rb,
app/models/lightning/feature_opt_in.rb,
app/models/lightning/application_record.rb,
app/helpers/lightning/application_helper.rb,
app/mailers/lightning/application_mailer.rb,
app/controllers/lightning/features_controller.rb,
app/controllers/lightning/application_controller.rb,
app/controllers/lightning/feature_opt_ins_controller.rb

Defined Under Namespace

Modules: Api, ApplicationHelper, Errors, Flaggable Classes: ApplicationController, ApplicationJob, ApplicationMailer, ApplicationRecord, Engine, Feature, FeatureOptIn, FeatureOptInsController, FeaturesController

Constant Summary collapse

VERSION =
'0.0.4'

Class Method Summary collapse

Class Method Details

.flaggable_entitiesObject



10
11
12
# File 'lib/lightning.rb', line 10

def self.flaggable_entities
  @@flaggable_entities.map { |f| f.constantize }
end