Module: Darjeelink

Defined in:
lib/darjeelink.rb,
lib/darjeelink/engine.rb,
lib/darjeelink/version.rb,
lib/darjeelink/configuration.rb,
app/models/darjeelink/api_token.rb,
app/models/darjeelink/short_link.rb,
app/jobs/darjeelink/application_job.rb,
app/models/darjeelink/application_record.rb,
app/controllers/darjeelink/api_controller.rb,
app/helpers/darjeelink/application_helper.rb,
app/mailers/darjeelink/application_mailer.rb,
app/importers/darjeelink/rebrandly_importer.rb,
app/importers/darjeelink/short_link_importer.rb,
app/controllers/darjeelink/sessions_controller.rb,
app/controllers/darjeelink/application_controller.rb,
app/controllers/darjeelink/short_links_controller.rb,
app/controllers/darjeelink/tracking_links_controller.rb

Defined Under Namespace

Modules: ApplicationHelper Classes: ApiController, ApiToken, ApplicationController, ApplicationJob, ApplicationMailer, ApplicationRecord, Configuration, Engine, RebrandlyImporter, SessionsController, ShortLink, ShortLinkImporter, ShortLinksController, TrackingLinksController

Constant Summary collapse

VERSION =
'0.15.0'

Class Method Summary collapse

Class Method Details

.configurationObject



22
23
24
# File 'lib/darjeelink.rb', line 22

def configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



26
27
28
# File 'lib/darjeelink.rb', line 26

def configure
  yield(configuration)
end