Module: DeathByCaptcha

Defined in:
lib/deathbycaptcha.rb,
lib/deathbycaptcha/error.rb,
lib/deathbycaptcha/client.rb,
lib/deathbycaptcha/config.rb,
lib/deathbycaptcha/version.rb,
lib/deathbycaptcha/http_client.rb,
lib/deathbycaptcha/socket_client.rb

Defined Under Namespace

Modules: Errors Classes: Client, Config, HTTPClient, SocketClient

Constant Summary collapse

VERSION =
"4.1.2"
API_VERSION =
"DBC/Ruby v4.1.0"

Class Method Summary collapse

Class Method Details

.http_client(username, password, extra = {}) ⇒ Object



94
95
96
# File 'lib/deathbycaptcha/http_client.rb', line 94

def self.http_client(username, password, extra = {})
  DeathByCaptcha::HTTPClient.new(username, password, extra)
end

.socket_client(username, password, extra = {}) ⇒ Object



236
237
238
# File 'lib/deathbycaptcha/socket_client.rb', line 236

def self.socket_client(username, password, extra={})
  DeathByCaptcha::SocketClient.new(username, password, extra)
end