Module: DeathByCaptcha
- Defined in:
- lib/deathbycaptcha.rb,
lib/deathbycaptcha/client.rb,
lib/deathbycaptcha/models.rb,
lib/deathbycaptcha/version.rb,
lib/deathbycaptcha/exceptions.rb,
lib/deathbycaptcha/client/http.rb,
lib/deathbycaptcha/models/user.rb,
lib/deathbycaptcha/client/socket.rb,
lib/deathbycaptcha/models/captcha.rb,
lib/deathbycaptcha/models/server_status.rb
Defined Under Namespace
Classes: APIBadRequest, APICaptchaTooLarge, APIForbidden, APIResponseError, APIServiceUnavailable, Captcha, Client, Error, IncorrectSolution, InvalidCaptcha, InvalidClientConnection, Model, ServerStatus, Timeout, User
Constant Summary collapse
- VERSION =
"5.1.0"
- API_VERSION =
"DBC/Ruby v#{VERSION}"
Class Method Summary collapse
-
.new(*args) ⇒ Object
Create a DeathByCaptcha API client.
Class Method Details
.new(*args) ⇒ Object
Create a DeathByCaptcha API client. This is a shortcut to DeathByCaptcha::Client.create.
6 7 8 |
# File 'lib/deathbycaptcha/client.rb', line 6 def self.new(*args) DeathByCaptcha::Client.create(*args) end |