Exception: Pipekit::ResourceNotFoundError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/pipekit/result.rb

Instance Method Summary collapse

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

#messageObject



69
70
71
# File 'lib/pipekit/result.rb', line 69

def message
  "Resource not found, response was: #{@response}"
end