Exception: Nisetegami::Exceptions::UnknownActionError
- Defined in:
- lib/nisetegami/exceptions.rb
Instance Method Summary collapse
-
#initialize(mailer, action) ⇒ UnknownActionError
constructor
A new instance of UnknownActionError.
- #message ⇒ Object
Constructor Details
#initialize(mailer, action) ⇒ UnknownActionError
Returns a new instance of UnknownActionError.
8 9 10 |
# File 'lib/nisetegami/exceptions.rb', line 8 def initialize(mailer, action) @action = "#{mailer}##{action}" end |
Instance Method Details
#message ⇒ Object
11 12 13 |
# File 'lib/nisetegami/exceptions.rb', line 11 def "Action #{@action} does not exist. You should define it first." end |