Exception: Pipekit::ResourceNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- Pipekit::ResourceNotFoundError
- Defined in:
- lib/pipekit/result.rb
Instance Method Summary collapse
-
#initialize(response) ⇒ ResourceNotFoundError
constructor
A new instance of ResourceNotFoundError.
- #message ⇒ Object
Constructor Details
#initialize(response) ⇒ ResourceNotFoundError
Returns a new instance of ResourceNotFoundError.
64 65 66 |
# File 'lib/pipekit/result.rb', line 64 def initialize(response) @response = response end |
Instance Method Details
#message ⇒ Object
68 69 70 |
# File 'lib/pipekit/result.rb', line 68 def "Resource not found, response was: #{@response}" end |