Sha256: b315ebcc5995c7599a586003ac64c246cff918746c99727ff7d170f7a55dd361

Contents?: true

Size: 250 Bytes

Versions: 8

Compression:

Stored size: 250 Bytes

Contents

module DeviseOtpAuthenticatable
  module Hooks

    autoload :Sessions, 'devise_otp_authenticatable/hooks/sessions.rb'

    class << self
      def apply
        Devise::SessionsController.send(:include, Hooks::Sessions)
      end
    end

  end
end

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
devise-otp2-0.2.6 lib/devise_otp_authenticatable/hooks.rb
devise-otp2-0.2.5 lib/devise_otp_authenticatable/hooks.rb
devise-otp2-0.2.4 lib/devise_otp_authenticatable/hooks.rb
devise-otp-rails5-0.2.4 lib/devise_otp_authenticatable/hooks.rb
devise-otp-0.2.3 lib/devise_otp_authenticatable/hooks.rb
devise-otp-0.2.2 lib/devise_otp_authenticatable/hooks.rb
devise-otp-0.2.0 lib/devise_otp_authenticatable/hooks.rb
devise-otp-0.1.1 lib/devise_otp_authenticatable/hooks.rb