Sha256: 8dbd3dc462db85f31db82a0de3d935e233eabcbed3b69cab3826ca3c59d6cab0

Contents?: true

Size: 252 Bytes

Versions: 2

Compression:

Stored size: 252 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

2 entries across 2 versions & 1 rubygems

Version Path
devise-otp-0.4.0 lib/devise_otp_authenticatable/hooks.rb
devise-otp-0.3.0 lib/devise_otp_authenticatable/hooks.rb