Class: Email

Inherits:
Object
  • Object
show all
Includes:
Mongoid::Document, Mongoid::Timestamps::Created
Defined in:
app/models/email.rb

Overview

The Email model stores an entry for each user's email address. Email addresses are stored here to give us an entry to associate prayer requests with.

Author:

  • Robert Klubenspies

Since:

  • 0.1.0

Instance Method Summary collapse

Instance Method Details

#emailString

Returns email the email address of the user

Since:

  • 0.1.0


11
# File 'app/models/email.rb', line 11

field :email, type: String