Class: Decidim::ReminderRecord
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Decidim::ReminderRecord
- Defined in:
- app/models/decidim/reminder_record.rb
Instance Method Summary collapse
Instance Method Details
#active? ⇒ Boolean
13 14 15 |
# File 'app/models/decidim/reminder_record.rb', line 13 def active? state == "active" end |
#completed? ⇒ Boolean
21 22 23 |
# File 'app/models/decidim/reminder_record.rb', line 21 def completed? state == "completed" end |
#deleted? ⇒ Boolean
25 26 27 |
# File 'app/models/decidim/reminder_record.rb', line 25 def deleted? state == "deleted" end |
#pending? ⇒ Boolean
17 18 19 |
# File 'app/models/decidim/reminder_record.rb', line 17 def pending? state == "pending" end |