Class: Capsolver::ReCaptcha
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(captcha_type:, api_key: nil, **kwargs) ⇒ ReCaptcha
constructor
A new instance of ReCaptcha.
Methods inherited from Base
Constructor Details
#initialize(captcha_type:, api_key: nil, **kwargs) ⇒ ReCaptcha
Returns a new instance of ReCaptcha.
5 6 7 |
# File 'lib/capsolver/recaptcha.rb', line 5 def initialize(captcha_type:, api_key: nil, **kwargs) super(api_key: api_key, captcha_type: captcha_type, **kwargs) end |