Exception: Mailflow::MessageNotFound
- Defined in:
- lib/mailflow/error.rb
Instance Method Summary collapse
-
#initialize(id) ⇒ MessageNotFound
constructor
A new instance of MessageNotFound.
- #message ⇒ Object (also: #to_s)
Constructor Details
#initialize(id) ⇒ MessageNotFound
Returns a new instance of MessageNotFound.
5 6 7 |
# File 'lib/mailflow/error.rb', line 5 def initialize(id) @id = id end |
Instance Method Details
#message ⇒ Object Also known as: to_s
9 10 11 |
# File 'lib/mailflow/error.rb', line 9 def "No message was found that matches the provided ID. '#{@id}'" end |