Sha256: 9c278e77d30a829ebc17f70ea3815a770f853f49b7423bf2d6d84446ab07b93f

Contents?: true

Size: 409 Bytes

Versions: 36

Compression:

Stored size: 409 Bytes

Contents

module HttpUtilities
  module Jobs
    module Resque
      module Proxies
        class CheckProxiesJob
          @queue = :proxies

          def perform(protocol = :all, proxy_type = :all, mode = :synchronous)
            HttpUtilities::Proxies::ProxyChecker.new.check_proxies(protocol: protocol.to_sym, proxy_type: proxy_type.to_sym, mode: mode.to_sym)
          end
        end
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
http_utilities-1.4.3 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.4.2 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.4.1 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.4.0 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.3.9 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.3.8 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.3.7 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.3.6 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.3.5 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.3.4 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.3.3 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.3.2 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.3.1 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.3.0 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.2.7 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.2.6.5 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.2.6.4 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.2.6.3 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.2.6.2 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.2.6.1 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb