def add_job_keys(job_path, obj_paths, opts = {})
      url = job_url(job_path, '/live/in')
      headers = gen_headers(opts)
      headers.push([ 'Content-Type', 'text/plain' ])

      data = obj_paths.join("\n")

      attempt(opts[:attempts]) do
        result = @client.post(url, data, headers)
        raise unless result.is_a? HTTP::Message

        return true, result.headers if result.status == 204
        raise_error(result)
      end
    end
def add_job_keys(job_path, obj_paths, opts = {})
      url = job_url(job_path, '/live/in')
      headers = gen_headers(opts)
      headers.push([ 'Content-Type', 'text/plain' ])

      data = obj_paths.join("\n")

      attempt(opts[:attempts]) do
        result = @client.post(url, data, headers)
        raise unless result.is_a? HTTP::Message

        return true, result.headers if result.status == 204
        raise_error(result)
      end
    end
Adds objects for a running job in Manta to process.

 The job_path must start with /<user>/jobs/<job UUID> and point at an actual
 running job. The obj_paths must be an array of paths, starting with
 /<user>/stor or /<user>/public, pointing at actual objects.

 Returns true, along with received HTTP headers.

 If there was an unrecoverable error, throws an exception. On connection or
 corruption errors, more attempts will be made; the number of attempts can
 be altered by passing in :attempts.