class Datahen::Client::JobFinisher

Public Instance Methods

reset(job_id, opts={}) click to toggle source

Reset finisher on a scraper's current job.

@param [Integer] job_id Job ID @param [Hash] opts ({}) API custom parameters.

@return [HTTParty::Response]

# File lib/datahen/client/job_finisher.rb, line 10
def reset(job_id, opts={})
  params = @options.merge(opts)
  self.class.put("/jobs/#{job_id}/finisher/reset", params)
end