Sha256: 892f933023b13b95f7aceb5a99e595ee49872bf22e921cede34d0fc64f89283d

Contents?: true

Size: 381 Bytes

Versions: 6

Compression:

Stored size: 381 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.to_sym, proxy_type.to_sym, mode.to_sym)
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
http_utilities-1.0.7.1 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.0.7 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.0.6 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.0.5 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.0.2 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb
http_utilities-1.0.1 lib/http_utilities/jobs/resque/proxies/check_proxies_job.rb