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