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.
65 66 67 |
# File 'lib/pipekit/result.rb', line 65 def initialize(response) @response = response end |
Instance Method Details
#message ⇒ Object
69 70 71 |
# File 'lib/pipekit/result.rb', line 69 def "Resource not found, response was: #{@response}" end |