Sha256: c6de889c7ddf5254bad3ba4e811f7eebaa9c137248e559ded0e2b750c307c245

Contents?: true

Size: 428 Bytes

Versions: 7

Compression:

Stored size: 428 Bytes

Contents

module AntiCaptcha
  class RecaptchaV3Solution < AntiCaptcha::Solution
    attr_accessor :g_recaptcha_response, :g_recaptcha_response_md5

    def initialize(task_result = nil)
      super

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
anti_captcha-2.6.1 lib/anti_captcha/models/recaptcha_v3_solution.rb
anti_captcha-2.6.0 lib/anti_captcha/models/recaptcha_v3_solution.rb
anti_captcha-2.5.0 lib/anti_captcha/models/recaptcha_v3_solution.rb
anti_captcha-2.4.0 lib/anti_captcha/models/recaptcha_v3_solution.rb
anti_captcha-2.3.0 lib/anti_captcha/models/recaptcha_v3_solution.rb
anti_captcha-2.2.2 lib/anti_captcha/models/recaptcha_v3_solution.rb
anti_captcha-2.2.1 lib/anti_captcha/models/recaptcha_v3_solution.rb