Class: AnswersEngine::Client::ScraperExporter
- Defined in:
- lib/answersengine/client/scraper_exporter.rb
Instance Method Summary collapse
Methods inherited from Base
#auth_token, #auth_token=, #env_api_url, env_auth_token, #initialize
Constructor Details
This class inherits a constructor from AnswersEngine::Client::Base
Instance Method Details
#all(scraper_name, opts = {}) ⇒ Object
4 5 6 7 |
# File 'lib/answersengine/client/scraper_exporter.rb', line 4 def all(scraper_name, opts={}) params = .merge(opts) self.class.get("/scrapers/#{scraper_name}/exporters", params) end |
#find(scraper_name, exporter_name) ⇒ Object
9 10 11 |
# File 'lib/answersengine/client/scraper_exporter.rb', line 9 def find(scraper_name, exporter_name) self.class.get("/scrapers/#{scraper_name}/exporters/#{exporter_name}", ) end |