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