Class: Stackify::HttpClient

Inherits:
Object show all
Defined in:
lib/stackify/http_client.rb

Constant Summary collapse

HEADERS =
{
  'X-Stackify-PV' => 'V1',
  'X-Stackify-Key' => Stackify.configuration.api_key,
  'Content-Type' =>'application/json'
}

Instance Attribute Summary collapse

Instance Attribute Details

#errorsObject (readonly)

Returns the value of attribute errors.



12
13
14
# File 'lib/stackify/http_client.rb', line 12

def errors
  @errors
end

#responseObject (readonly)

Returns the value of attribute response.



12
13
14
# File 'lib/stackify/http_client.rb', line 12

def response
  @response
end