lib/datahen/client/job_page.rb in datahen-0.11.2 vs lib/datahen/client/job_page.rb in datahen-0.12.0

- old
+ new

@@ -51,8 +51,16 @@ params = @options.merge({body: body.to_json}) self.class.put("/jobs/#{job_id}/pages/#{gid}/parsing_update", params) end + + def find_content(job_id, gid) + self.class.get("/jobs/#{job_id}/pages/#{gid}/content", @options) + end + + def find_failed_content(job_id, gid) + self.class.get("/jobs/#{job_id}/pages/#{gid}/failed_content", @options) + end end end end