Class: Renalware::Letters::ElectronicReceipt
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Renalware::Letters::ElectronicReceipt
- Defined in:
- app/models/renalware/letters/electronic_receipt.rb
Instance Method Summary collapse
Instance Method Details
#read? ⇒ Boolean
36 37 38 |
# File 'app/models/renalware/letters/electronic_receipt.rb', line 36 def read? read_at.present? end |
#unread? ⇒ Boolean
40 41 42 |
# File 'app/models/renalware/letters/electronic_receipt.rb', line 40 def unread? !read? end |