class AppMail::MessageNotFound
Raised when a message cannot be found by its ID
Public Class Methods
new(id)
click to toggle source
# File lib/app_mail/error.rb, line 13 def initialize(id) @id = id end
Public Instance Methods
message()
click to toggle source
# File lib/app_mail/error.rb, line 17 def message "No message found matching ID '#{@id}'" end
to_s()
click to toggle source
# File lib/app_mail/error.rb, line 21 def to_s message end