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.
74 75 76 |
# File 'lib/pipekit/result.rb', line 74 def initialize(response) @response = response end |
Instance Method Details
#message ⇒ Object
78 79 80 |
# File 'lib/pipekit/result.rb', line 78 def "Request not successful: #{@response}" end |