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
19 20 21 |
# File 'app/models/spotlight/contact_email.rb', line 19 def recently_sent? confirmation_sent_at > 3.days.ago if confirmation_sent_at? end |
#to_s ⇒ Object
15 16 17 |
# File 'app/models/spotlight/contact_email.rb', line 15 def to_s email end |