class AntiCaptcha::HCaptchaSolution

Attributes

g_recaptcha_response[RW]

Public Class Methods

new(task_result = nil) click to toggle source
Calls superclass method AntiCaptcha::Solution::new
# File lib/anti_captcha/models/h_captcha_solution.rb, line 5
def initialize(task_result = nil)
  super

  if task_result
    @g_recaptcha_response = task_result.api_result['solution']['gRecaptchaResponse']
  end
end