Sha256: c697ba3759d1fff83feda2cf2183bfb561866a4d71327f2ecd68ea52e8633f05

Contents?: true

Size: 159 Bytes

Versions: 2

Compression:

Stored size: 159 Bytes

Contents

class User < ActiveRecord::Base
  has_secure_token
  has_secure_token :auth_token, prefix: 'ut_'
  has_secure_token :api_key,    prefix: 'ak_', length: 42
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
super_token-1.1.0 test/models/user.rb
super_token-1.0.0 test/models/user.rb