Module: DeviseToken

Defined in:
lib/devise_token.rb,
lib/devise_token/engine.rb,
lib/devise_token/version.rb,
lib/devise_token/controllers/helpers.rb,
app/jobs/devise_token/application_job.rb,
app/models/devise_token/json_web_token.rb,
lib/devise_token/controllers/url_helpers.rb,
app/models/devise_token/application_record.rb,
app/helpers/devise_token/application_helper.rb,
app/mailers/devise_token/application_mailer.rb,
lib/generators/devise_token/install_generator.rb,
app/controllers/devise_token/application_controller.rb,
lib/generators/devise_token/install_views_generator.rb,
app/controllers/devise_token/confirmations_controller.rb,
app/controllers/devise_token/registrations_controller.rb,
app/controllers/devise_token/authentications_controller.rb,
app/controllers/devise_token/token_validations_controller.rb

Defined Under Namespace

Modules: ApplicationHelper, Authenticable, Controllers Classes: ApplicationController, ApplicationJob, ApplicationMailer, ApplicationRecord, AuthenticationsController, ConfirmationsController, Engine, InstallGenerator, InstallViewsGenerator, JsonWebToken, RegistrationsController, TokenValidationsController

Constant Summary collapse

VERSION =
'0.1.1'

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (DeviseToken)

    the object that the method was called on



41
42
43
# File 'lib/devise_token/engine.rb', line 41

def self.setup(&block)
  yield self
end