Class: CaptchaSolver::RecaptchaV1

Inherits:
Base
  • Object
show all
Defined in:
lib/captcha_solver/recaptcha_v1.rb

Constant Summary

Constants inherited from Base

Base::TIMEOUTS_BETWEEN_ATTEMPTS

Instance Attribute Summary collapse

Attributes inherited from Base

#complete_response, #proxy_address, #rucaptcha_api_key, #start_response

Instance Method Summary collapse

Methods inherited from Base

#solve, #solved_captcha

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_paramsObject (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_pathObject (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