Module: AdSpace
- Defined in:
- lib/ad_space.rb,
lib/ad_space/app.rb,
lib/ad_space/engine.rb,
lib/ad_space/version.rb,
app/models/ad_space/slot.rb,
lib/ad_space/configuration.rb,
app/models/ad_space/breadcrumb.rb,
app/models/ad_space/i18n_config.rb,
app/helpers/ad_space/slots_helper.rb,
app/jobs/ad_space/application_job.rb,
app/models/ad_space/advertisement.rb,
app/helpers/ad_space/dashboard_helper.rb,
app/models/ad_space/application_record.rb,
app/helpers/ad_space/application_helper.rb,
app/mailers/ad_space/application_mailer.rb,
app/controllers/ad_space/slots_controller.rb,
app/helpers/ad_space/advertisements_helper.rb,
app/controllers/ad_space/dashboard_controller.rb,
app/controllers/ad_space/application_controller.rb,
app/controllers/ad_space/advertisements_controller.rb
Defined Under Namespace
Modules: AdvertisementsHelper, ApplicationHelper, DashboardHelper, SlotsHelper
Classes: Advertisement, AdvertisementsController, App, ApplicationController, ApplicationJob, ApplicationMailer, ApplicationRecord, Breadcrumb, Configuration, DashboardController, Engine, I18nConfig, Slot, SlotsController
Constant Summary
collapse
- IN_DEVELOPMENT =
ENV["AD_SPACE_IN_DEVELOPMENT"] == "1"
- PACKED =
!IN_DEVELOPMENT
- VERSION =
"0.1.8"
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
26
27
28
|
# File 'lib/ad_space/configuration.rb', line 26
def self.configuration
@configuration ||= Configuration.new
end
|
.configuration=(config) ⇒ Object
30
31
32
|
# File 'lib/ad_space/configuration.rb', line 30
def self.configuration=(config)
@configuration = config
end
|
34
35
36
|
# File 'lib/ad_space/configuration.rb', line 34
def self.configure
yield configuration
end
|