Exception: Pipekit::UnsuccessfulRequestError
- Inherits:
-
StandardError
- Object
- StandardError
- Pipekit::UnsuccessfulRequestError
- Defined in:
- lib/pipekit/result.rb
Instance Method Summary collapse
-
#initialize(response) ⇒ UnsuccessfulRequestError
constructor
A new instance of UnsuccessfulRequestError.
- #message ⇒ Object
Constructor Details
#initialize(response) ⇒ UnsuccessfulRequestError
Returns a new instance of UnsuccessfulRequestError.
75 76 77 |
# File 'lib/pipekit/result.rb', line 75 def initialize(response) @response = response end |
Instance Method Details
#message ⇒ Object
79 80 81 |
# File 'lib/pipekit/result.rb', line 79 def "Request not successful: #{@response}" end |