Exception: RegistryApiClient::HTTP::Unauthorized

Inherits:
Exception
  • Object
show all
Defined in:
lib/docker_cake/registry_api_client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, response) ⇒ Unauthorized

Returns a new instance of Unauthorized.



378
379
380
381
# File 'lib/docker_cake/registry_api_client.rb', line 378

def initialize(message, response)
  super(message)
  @response = response
end

Instance Attribute Details

#responseObject

Returns the value of attribute response.



377
378
379
# File 'lib/docker_cake/registry_api_client.rb', line 377

def response
  @response
end