Sha256: 4b634de51ad09b669caf10e0a85df1229063c21119d3e33b7bb7b2469491966f

Contents?: true

Size: 109 Bytes

Versions: 15

Compression:

Stored size: 109 Bytes

Contents

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

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
clearance-1.11.0 lib/clearance/token.rb
clearance-1.10.1 lib/clearance/token.rb
clearance-1.9.0 lib/clearance/token.rb
clearance-1.8.1 lib/clearance/token.rb
clearance-1.8.0 lib/clearance/token.rb
clearance-1.7.0 lib/clearance/token.rb
clearance-1.6.1 lib/clearance/token.rb
clearance-1.6.0 lib/clearance/token.rb
clearance-1.5.1 lib/clearance/token.rb
clearance-1.5.0 lib/clearance/token.rb
clearance-1.4.3 lib/clearance/token.rb
clearance-1.4.2 lib/clearance/token.rb
clearance-1.4.1 lib/clearance/token.rb
clearance-1.4.0 lib/clearance/token.rb
clearance-1.3.0 lib/clearance/token.rb