Sha256: a73abdcd9d0f03eae0ee83cbca9cccb3b8ae9c98ea7901e05cfacc8f365085d0
Contents?: true
Size: 196 Bytes
Versions: 2
Compression:
Stored size: 196 Bytes
Contents
class ShaCredential include Mongoid::Document include Mongoid::Encryptor field :email field :password validates_presence_of :email, :password encrypts :password, :mode => :sha, end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mongoid-encryptor-0.0.4 | spec/models/sha_credential.rb |
mongoid-encryptor-0.0.1 | spec/models/sha_credential.rb |