Exception: RegistryApiClient::HTTP::MethodNotAllowed

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) ⇒ MethodNotAllowed

Returns a new instance of MethodNotAllowed.



386
387
388
389
# File 'lib/docker_cake/registry_api_client.rb', line 386

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

Instance Attribute Details

#responseObject

Returns the value of attribute response.



385
386
387
# File 'lib/docker_cake/registry_api_client.rb', line 385

def response
  @response
end