Module: Analytic

Defined in:
lib/analytic.rb,
lib/analytic/config.rb,
lib/analytic/engine.rb,
lib/analytic/version.rb,
app/models/analytic/stat.rb,
app/models/analytic/event.rb,
app/models/analytic/period.rb,
app/jobs/analytic/track_job.rb,
app/models/analytic/dashboard.rb,
app/jobs/analytic/application_job.rb,
app/models/analytic/application_record.rb,
app/helpers/analytic/application_helper.rb,
app/mailers/analytic/application_mailer.rb,
app/controllers/concerns/analytic/trackable.rb,
app/controllers/analytic/dashboard_controller.rb,
app/controllers/analytic/application_controller.rb

Defined Under Namespace

Modules: ApplicationHelper, Trackable Classes: ApplicationController, ApplicationJob, ApplicationMailer, ApplicationRecord, Config, Dashboard, DashboardController, Engine, Event, Period, Stat, TrackJob

Constant Summary collapse

VERSION =
'0.5.0'

Class Method Summary collapse

Class Method Details

.configAnalytic::Config

Returns:



9
10
11
# File 'lib/analytic.rb', line 9

def self.config
  @config ||= Config.new
end

.configure {|config| ... } ⇒ Object

Yields:

Yield Parameters:



15
16
17
# File 'lib/analytic.rb', line 15

def self.configure
  yield config
end