Module: ZeroCaptcha

Defined in:
lib/zero_captcha.rb,
lib/zero_captcha/http.rb,
lib/zero_captcha/client.rb,
lib/zero_captcha/errors.rb,
lib/zero_captcha/version.rb,
lib/zero_captcha/models/captcha.rb

Overview

Specify zero_captcha’s gem version.

Defined Under Namespace

Classes: APIBadRequest, APIForbidden, APIResponseError, ArgumentError, Captcha, Client, Error, HTTP, IncorrectSolution, InvalidCaptcha, InvalidCaptchaType, Model, Timeout

Constant Summary collapse

VERSION =
'1.0.0'
USER_AGENT =
"ZeroCaptcha/Ruby v#{VERSION}"

Class Method Summary collapse

Class Method Details

.new(*args) ⇒ Object

Create a ZeroCaptcha API client. This is a shortcut to ZeroCaptcha::Client.new.



13
14
15
# File 'lib/zero_captcha.rb', line 13

def self.new(*args)
  ZeroCaptcha::Client.new(*args)
end