class Datahen::Client::ScraperExport
Public Instance Methods
all(scraper_name, opts={})
click to toggle source
# File lib/datahen/client/scraper_export.rb, line 4 def all(scraper_name, opts={}) params = @options.merge(opts) self.class.get("/scrapers/#{scraper_name}/exports", params) end
create(scraper_name, exporter_name)
click to toggle source
# File lib/datahen/client/scraper_export.rb, line 13 def create(scraper_name, exporter_name) self.class.post("/scrapers/#{scraper_name}/exports/#{exporter_name}", @options) end
download(export_id)
click to toggle source
# File lib/datahen/client/scraper_export.rb, line 17 def download(export_id) self.class.get("/scrapers/exports/#{export_id}/download", @options) end
find(export_id)
click to toggle source
# File lib/datahen/client/scraper_export.rb, line 9 def find(export_id) self.class.get("/scrapers/exports/#{export_id}", @options) end