Exception: Tupplur::Error::RESTOperationNotAllowed
- Inherits:
-
StandardError
- Object
- StandardError
- Tupplur::Error::RESTOperationNotAllowed
- Defined in:
- lib/tupplur/errors.rb
Instance Method Summary collapse
-
#initialize(operation = 'unspecified') ⇒ RESTOperationNotAllowed
constructor
A new instance of RESTOperationNotAllowed.
- #message ⇒ Object
Constructor Details
#initialize(operation = 'unspecified') ⇒ RESTOperationNotAllowed
Returns a new instance of RESTOperationNotAllowed.
10 11 12 |
# File 'lib/tupplur/errors.rb', line 10 def initialize(operation = 'unspecified') @operation = operation end |
Instance Method Details
#message ⇒ Object
6 7 8 |
# File 'lib/tupplur/errors.rb', line 6 def "The #{@operation} REST operation is not allowed." end |