def log_headers(headers)
      @api.logger.debug('HTTP headers: [%s]' %
          (headers.map { |k, v| [k, v].join(': ') }.join(', ')))
    end
def log_headers(headers)
      @api.logger.debug('HTTP headers: [%s]' %
          (headers.map { |k, v| [k, v].join(': ') }.join(', ')))
    end
Logs HTTP headers on debug level.