Sha256: 913e2eeaa6e0b23e6f0a2fe5e0da4ff047682ffca280edc433c063ed64fedfd7

Contents?: true

Size: 658 Bytes

Versions: 3

Compression:

Stored size: 658 Bytes

Contents

require 'active_support/concern'
require 'active_support/core_ext/integer/time'
require 'devise'
require 'authy'

module Devise
  mattr_accessor :authy_remember_device
  @@authy_remember_device = 1.month
end

module DeviseAuthy
  module Controllers
    autoload :Helpers, 'devise-authy/controllers/helpers'
  end
  module Views
    autoload :Helpers, 'devise-authy/controllers/view_helpers'
  end
end

require 'devise-authy/routes'
require 'devise-authy/rails'
require 'devise-authy/models/authy_authenticatable'

Devise.add_module :authy_authenticatable, :model => 'devise-authy/models/authy_authenticatable', :controller => :devise_authy, :route => :authy

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
devise-authy-1.5.1 lib/devise-authy.rb
devise-authy-1.5.0 lib/devise-authy.rb
devise-authy-1.4.0 lib/devise-authy.rb