Sha256: 1ca6fe910e495bfe5ff9988e5b67f57503776d6851bac3828979ae4b39326354

Contents?: true

Size: 155 Bytes

Versions: 1

Compression:

Stored size: 155 Bytes

Contents

class Credential
  include Mongoid::Document
  include Mongoid::Encryptor

  field :email
  field :password

  validates_presence_of :email, :password
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongoid-encryptor-0.0.1 spec/models/credential.rb