Class: Honeybadger::Backend::Null::StubbedResponse Private

Inherits:
Response
  • Object
show all
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

Methods inherited from Response

#error_message

Constructor Details

#initializeStubbedResponse

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.

Returns:

  • (Boolean)


11
12
13
# File 'lib/honeybadger/backend/null.rb', line 11

def success?
  true
end