class RegistryApiClient::HTTP::Response

Attributes

headers[RW]

Public Class Methods

new(http_response) click to toggle source
Calls superclass method
# File lib/docker_cake/registry_api_client.rb, line 477
def initialize(http_response)
  @http_response = http_response
  @headers = {}
  @http_response.to_hash.each do |key, value|
    @headers[key.gsub('-', '_').to_sym] = value.last
  end
  super(http_response.body)
end