lib/two_captcha/client.rb
# 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.
#
Decode the text from an image .
Decode the text from an image .
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
Decode the text from an image (i.e.
Decode the text from an image ( i . e .
The captcha (with solution) or an empty captcha instance if something goes wrong.
The captcha ( with solution ) or an empty captcha instance if something goes wrong .
TwoCaptcha::Captcha
options
options Options hash. Check docs for the method decode!.
options Options hash . Check docs for the method decode! .