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