Sha256: 343feec30554b08efbc28aa6a5015b772b9727b735f5575dbf8b31e0e6cb118c

Contents?: true

Size: 410 Bytes

Versions: 8

Compression:

Stored size: 410 Bytes

Contents

module AnswersEngine
  module Client
    class ScraperExporter < AnswersEngine::Client::Base
      def all(scraper_name, opts={})
        params = @options.merge(opts)
        self.class.get("/scrapers/#{scraper_name}/exporters", params)
      end

      def find(scraper_name, exporter_name)
        self.class.get("/scrapers/#{scraper_name}/exporters/#{exporter_name}", @options)
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
answersengine-0.10.1 lib/answersengine/client/scraper_exporter.rb
answersengine-0.10.0 lib/answersengine/client/scraper_exporter.rb
answersengine-0.9.1 lib/answersengine/client/scraper_exporter.rb
answersengine-0.9.0 lib/answersengine/client/scraper_exporter.rb
answersengine-0.8.0 lib/answersengine/client/scraper_exporter.rb
answersengine-0.7.0 lib/answersengine/client/scraper_exporter.rb
answersengine-0.6.0 lib/answersengine/client/scraper_exporter.rb
answersengine-0.5.0 lib/answersengine/client/scraper_exporter.rb