Exception: RestfulSpec::Error::InvalidAction
- Inherits:
-
StandardError
- Object
- StandardError
- RestfulSpec::Error::InvalidAction
- Defined in:
- lib/restful_spec/error.rb
Instance Method Summary collapse
-
#initialize(message, actions) ⇒ InvalidAction
constructor
A new instance of InvalidAction.
Constructor Details
#initialize(message, actions) ⇒ InvalidAction
Returns a new instance of InvalidAction.
5 6 7 8 |
# File 'lib/restful_spec/error.rb', line 5 def initialize(, actions) += "\n\nValid actions are: \n\n#{actions.join("\n")}\n\n" super() end |