Sha256: 5414c54b00356af7d1bba23ea9c05e59224c1793b506b17c1ab2758e2f4ba936

Contents?: true

Size: 250 Bytes

Versions: 2

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

2 entries across 2 versions & 1 rubygems

Version Path
devise-otp-0.6.0 lib/devise_otp_authenticatable/hooks.rb
devise-otp-0.5.0 lib/devise_otp_authenticatable/hooks.rb