def decode(options = {})
      decode!(options)
    rescue TwoCaptcha::Error => ex
      TwoCaptcha::Captcha.new
    end
def decode(options = {})
      decode!(options)
    rescue TwoCaptcha::Error => ex
      TwoCaptcha::Captcha.new
    end
Create a TwoCaptcha API client.

 @param [String] Captcha key of the TwoCaptcha account.
 @param [Hash]   options  Options hash.
 @option options [Integer] :timeout (60) Seconds before giving up of a
                                         captcha being solved.
 @option options [Integer] :polling  (5) Seconds before check_answer again

 @return [TwoCaptcha::Client] A Client instance.

 Decode the text from an image (i.e. solve a captcha).

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

 @return [TwoCaptcha::Captcha] The captcha (with solution) or an empty
                               captcha instance if something goes wrong.