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