lib/answersengine/client/job.rb in answersengine-0.3.3 vs lib/answersengine/client/job.rb in answersengine-0.4.0
- old
+ new
@@ -38,16 +38,15 @@
body = {}
body[:outputs] = opts.fetch(:outputs) {[]}
body[:pages] = opts.fetch(:pages) {[]}
body[:seeding_status] = opts.fetch(:seeding_status){ nil }
body[:log_error] = opts[:log_error] if opts[:log_error]
-
+
@options.merge!({body: body.to_json})
self.class.put("/jobs/#{job_id}/seeding_update", @options)
end
end
end
end
-