lib/two_captcha/client.rb
def decode_recaptcha_v2(options = {})
      decode_recaptcha_v2!(options)
    rescue TwoCaptcha::Error => ex
      TwoCaptcha::Captcha.new
    end
def decode_recaptcha_v2(options = {})
      decode_recaptcha_v2!(options)
    rescue TwoCaptcha::Error => ex
      TwoCaptcha::Captcha.new
    end
def decode_recaptcha_v2 ( options = { } ) decode_recaptcha_v2! ( options ) rescue TwoCaptcha :: Error => ex TwoCaptcha :: Captcha . new end
Solve reCAPTCHA v2.

 @param [Hash] options Options hash. Check docs for the method decode!.

 @return [TwoCaptcha::Captcha] The solution of the given captcha.
Solve reCAPTCHA v2 .