Sha256: a36db6c7e0288585bcea1a52e40d94a4b0fd495aa80761dad8e48db56abdf163

Contents?: true

Size: 112 Bytes

Versions: 7

Compression:

Stored size: 112 Bytes

Contents

module Authenticate
  class Token
    def self.new
      SecureRandom.hex(20).encode('UTF-8')
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
authenticate-0.3.1 lib/authenticate/token.rb
authenticate-0.3.0 lib/authenticate/token.rb
authenticate-0.2.3 lib/authenticate/token.rb
authenticate-0.2.2 lib/authenticate/token.rb
authenticate-0.2.1 lib/authenticate/token.rb
authenticate-0.2.0 lib/authenticate/token.rb
authenticate-0.1.0 lib/authenticate/token.rb