Sha256: 36449244ed840476f4fa0bf51c405c2c908d138b6136a37c3eeb13c21001f508
Contents?: true
Size: 435 Bytes
Versions: 8
Compression:
Stored size: 435 Bytes
Contents
module AnswersEngine module Client class ScraperDeployment < AnswersEngine::Client::Base def all(scraper_name, opts={}) params = @options.merge(opts) self.class.get("/scrapers/#{scraper_name}/deployments", params) end def deploy(scraper_name, opts={}) params = @options.merge(opts) self.class.post("/scrapers/#{scraper_name}/deployments", params) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems