Module: ChefNetHTTPExceptionExtensions

Included in:
Net::HTTPError, Net::HTTPFatalError, Net::HTTPRetriableError, Net::HTTPServerException
Defined in:
lib/chef/monkey_patches/net_http.rb

Overview

Module gets mixed in to Net::HTTP exception classes so we can attach our RESTRequest object to them and get the request parameters back out later.

Instance Attribute Summary collapse

Instance Attribute Details

#chef_rest_requestObject

Returns the value of attribute chef_rest_request.



5
6
7
# File 'lib/chef/monkey_patches/net_http.rb', line 5

def chef_rest_request
  @chef_rest_request
end