def parse_response(body)
      report = CSV.new(body,
                       headers: true,
                       header_converters: :symbol,
                       converters: :all)

      format           = @format.to_s.downcase
      report_formatter = formatters.find(format)

      report_formatter.format report
    end
def parse_response(body)
      report = CSV.new(body,
                       headers: true,
                       header_converters: :symbol,
                       converters: :all)

      format           = @format.to_s.downcase
      report_formatter = formatters.find(format)

      report_formatter.format report
    end
Parses a response from the string response body to the desired format.

 @param [String] body response body
 @return [Array, CSV]