Class: CaptchaSolver::RecaptchaV1
- Defined in:
- lib/captcha_solver/recaptcha_v1.rb
Constant Summary
Constants inherited from Base
Base::TIMEOUTS_BETWEEN_ATTEMPTS
Instance Attribute Summary collapse
-
#help_params ⇒ Object
readonly
Returns the value of attribute help_params.
-
#image_path ⇒ Object
readonly
Returns the value of attribute image_path.
Attributes inherited from Base
#complete_response, #proxy_address, #rucaptcha_api_key, #start_response
Instance Method Summary collapse
-
#initialize(args) ⇒ RecaptchaV1
constructor
A new instance of RecaptchaV1.
Methods inherited from Base
Constructor Details
#initialize(args) ⇒ RecaptchaV1
Returns a new instance of RecaptchaV1.
7 8 9 10 11 |
# File 'lib/captcha_solver/recaptcha_v1.rb', line 7 def initialize(args) super @image_path = args[:image_path] @help_params = args[:help_params] end |
Instance Attribute Details
#help_params ⇒ Object (readonly)
Returns the value of attribute help_params.
5 6 7 |
# File 'lib/captcha_solver/recaptcha_v1.rb', line 5 def help_params @help_params end |
#image_path ⇒ Object (readonly)
Returns the value of attribute image_path.
5 6 7 |
# File 'lib/captcha_solver/recaptcha_v1.rb', line 5 def image_path @image_path end |