lib/answersengine/client/scraper_export.rb in answersengine-0.4.1 vs lib/answersengine/client/scraper_export.rb in answersengine-0.5.0

- old
+ new

@@ -1,10 +1,11 @@ module AnswersEngine module Client class ScraperExport < AnswersEngine::Client::Base def all(scraper_name, opts={}) - self.class.get("/scrapers/#{scraper_name}/exports", @options) + 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 @@ -17,6 +18,5 @@ self.class.get("/scrapers/exports/#{export_id}/download", @options) end end end end -