Exception: Atatus::CentralConfig::ResponseError Private

Inherits:
InternalError
  • Object
show all
Defined in:
lib/atatus/central_config.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.

Direct Known Subclasses

ClientError, ServerError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ ResponseError

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 ResponseError.



30
31
32
33
# File 'lib/atatus/central_config.rb', line 30

def initialize(response)
  super
  @response = response
end

Instance Attribute Details

#responseObject (readonly)

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.



35
36
37
# File 'lib/atatus/central_config.rb', line 35

def response
  @response
end