Class: Spotlight::ContactEmail
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Spotlight::ContactEmail
- Extended by:
- Devise::Models
- Defined in:
- app/models/spotlight/contact_email.rb
Overview
Exhibit feedback contacts
Instance Method Summary collapse
Instance Method Details
#recently_sent? ⇒ Boolean
17 18 19 |
# File 'app/models/spotlight/contact_email.rb', line 17 def recently_sent? confirmation_sent_at > 3.days.ago if confirmation_sent_at? end |
#to_s ⇒ Object
13 14 15 |
# File 'app/models/spotlight/contact_email.rb', line 13 def to_s email end |