Class: Capsolver::Cloudflare
Constant Summary
Constants inherited from Base
Base::APP_ID, Base::CAPTCHA_UNSOLVABLE, Base::CAPTCHA_UNSOLVABLE_DESCRIPTION, Base::REQUEST_URL, Base::VALID_STATUS_CODES
Instance Attribute Summary
Attributes inherited from Base
#api_key, #captcha_type, #request_url, #sleep_time
Instance Method Summary collapse
-
#initialize(api_key: nil, captcha_type: "AntiTurnstileTaskProxyLess", **kwargs) ⇒ Cloudflare
constructor
A new instance of Cloudflare.
Methods inherited from Base
Constructor Details
#initialize(api_key: nil, captcha_type: "AntiTurnstileTaskProxyLess", **kwargs) ⇒ Cloudflare
Returns a new instance of Cloudflare.
5 6 7 |
# File 'lib/capsolver/cloudflare.rb', line 5 def initialize(api_key: nil, captcha_type: "AntiTurnstileTaskProxyLess", **kwargs) super(api_key: api_key, captcha_type: captcha_type, **kwargs) end |