Exception: BlueFactory::Net::ResponseError Private

Inherits:
StandardError
  • Object
show all
Defined in:
lib/blue_factory/tasks/support.rb

Overview

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.

Thrown when a HTTP response is not 200 OK.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response, message) ⇒ 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.



20
21
22
23
# File 'lib/blue_factory/tasks/support.rb', line 20

def initialize(response, message)
  @response = response
  super(message)
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.



18
19
20
# File 'lib/blue_factory/tasks/support.rb', line 18

def response
  @response
end