Method: Chef::ResourceReporter#headers

Defined in:
lib/chef/resource_reporter.rb

#headers(additional_headers = {}) ⇒ Object



168
169
170
171
# File 'lib/chef/resource_reporter.rb', line 168

def headers(additional_headers = {})
  options = { "X-Ops-Reporting-Protocol-Version" => PROTOCOL_VERSION }
  options.merge(additional_headers)
end