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