Sha256: ce5cdc4a0a061a7f5909d3736f8b746c5e370337bdf461df48e5c9cc5b41197c
Contents?: true
Size: 628 Bytes
Versions: 8
Compression:
Stored size: 628 Bytes
Contents
module AnswersEngine module Client class ScraperExport < AnswersEngine::Client::Base def all(scraper_name, opts={}) params = @options.merge(opts) self.class.get("/scrapers/#{scraper_name}/exports", params) end def find(export_id) self.class.get("/scrapers/exports/#{export_id}", @options) end def create(scraper_name, exporter_name) self.class.post("/scrapers/#{scraper_name}/exports/#{exporter_name}", @options) end def download(export_id) self.class.get("/scrapers/exports/#{export_id}/download", @options) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems