Class: Renalware::Letters::ElectronicReceipt

Inherits:
ApplicationRecord show all
Defined in:
app/models/renalware/letters/electronic_receipt.rb

Instance Method Summary collapse

Instance Method Details

#read?Boolean

Returns:

  • (Boolean)


36
37
38
# File 'app/models/renalware/letters/electronic_receipt.rb', line 36

def read?
  read_at.present?
end

#unread?Boolean

Returns:

  • (Boolean)


40
41
42
# File 'app/models/renalware/letters/electronic_receipt.rb', line 40

def unread?
  !read?
end