    # File lib/chef/resource_reporter.rb, line 90
        def initialize(rest_client)
          if Chef::Config[:enable_reporting] && !Chef::Config[:why_run]
            @reporting_enabled = true
          else
            @reporting_enabled = false
          end
          @updated_resources = []
          @total_res_count = 0
          @pending_update  = nil
          @status = "success"
          @exception = nil
          @run_id = nil
          @rest_client = rest_client
          @node = nil
          @error_descriptions = {}
          @summary_only = true
        end