Sha256: 75f6495533b75d01d5a5537ca14ce6e55b6d950a6c08ad8ee25b1ea1459eee2d

Contents?: true

Size: 367 Bytes

Versions: 15

Compression:

Stored size: 367 Bytes

Contents

module AnswersEngine
  module Client
    class JobStat < AnswersEngine::Client::Base

      def job_current_stats(job_id)
        self.class.get("/jobs/#{job_id}/stats/current", @options)
      end

      def scraper_job_current_stats(scraper_name)
        self.class.get("/scrapers/#{scraper_name}/current_job/stats/current", @options)
      end

    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
answersengine-0.10.1 lib/answersengine/client/job_stat.rb
answersengine-0.10.0 lib/answersengine/client/job_stat.rb
answersengine-0.9.1 lib/answersengine/client/job_stat.rb
answersengine-0.9.0 lib/answersengine/client/job_stat.rb
answersengine-0.8.0 lib/answersengine/client/job_stat.rb
answersengine-0.7.0 lib/answersengine/client/job_stat.rb
answersengine-0.6.0 lib/answersengine/client/job_stat.rb
answersengine-0.5.0 lib/answersengine/client/job_stat.rb
answersengine-0.4.1 lib/answersengine/client/job_stat.rb
answersengine-0.4.0 lib/answersengine/client/job_stat.rb
answersengine-0.3.3 lib/answersengine/client/job_stat.rb
answersengine-0.3.2 lib/answersengine/client/job_stat.rb
answersengine-0.3.1 lib/answersengine/client/job_stat.rb
answersengine-0.3.0 lib/answersengine/client/job_stat.rb
answersengine-0.2.33 lib/answersengine/client/job_stat.rb