Class: Honeybadger::Backend::Null::StubbedResponse Private
- Defined in:
- lib/honeybadger/backend/null.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Constant Summary
Constants inherited from Response
Response::FRIENDLY_ERRORS, Response::NOT_BLANK
Instance Attribute Summary
Attributes inherited from Response
#body, #code, #error, #message
Instance Method Summary collapse
-
#initialize ⇒ StubbedResponse
constructor
private
A new instance of StubbedResponse.
- #success? ⇒ Boolean private
Methods inherited from Response
Constructor Details
#initialize ⇒ StubbedResponse
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of StubbedResponse.
7 8 9 |
# File 'lib/honeybadger/backend/null.rb', line 7 def initialize super(:stubbed, '{}'.freeze) end |
Instance Method Details
#success? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
11 12 13 |
# File 'lib/honeybadger/backend/null.rb', line 11 def success? true end |