Sha256: 3b3326a41db6d549e7e70a83316eb4356014416645c3e90e396a783f409118f3

Contents?: true

Size: 166 Bytes

Versions: 8

Compression:

Stored size: 166 Bytes

Contents

require 'devise'

module SimpleTokenAuthentication
  class TokenGenerator
    include Singleton

    def generate_token
      Devise.friendly_token
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
simple_token_authentication-1.18.1 lib/simple_token_authentication/token_generator.rb
simple_token_authentication-1.18.0 lib/simple_token_authentication/token_generator.rb
simple_token_authentication-1.17.0 lib/simple_token_authentication/token_generator.rb
simple_token_authentication-1.16.0 lib/simple_token_authentication/token_generator.rb
simple_token_authentication-1.15.1 lib/simple_token_authentication/token_generator.rb
simple_token_authentication-1.15.0 lib/simple_token_authentication/token_generator.rb
simple_token_authentication-1.14.0 lib/simple_token_authentication/token_generator.rb
simple_token_authentication-1.13.0 lib/simple_token_authentication/token_generator.rb