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.2.6 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.2.5.3 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.2.5.2 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.2.5.1 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.2.5 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.2.4.1 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.2.4 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.2.3 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.2.2 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.2.0 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.1.5 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.1.2 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.1.1 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.1.0 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.0.9 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.0.8 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb