Module: AntigateRb
- Defined in:
- lib/antigate_rb.rb,
lib/antigate_rb/error.rb,
lib/antigate_rb/client.rb,
lib/antigate_rb/version.rb,
lib/antigate_rb/configuration.rb
Defined Under Namespace
Classes: CaptchaNotReady, CaptchaUnsolvable, Client, Configuration, Error, ImageTypeNotSupported, IpNotAllowed, KeyDoesNotExist, NoSlotAvailable, TooBigCaptchaFilesize, UnknownErrorResponse, UnknownResponse, WrongFileExtension, WrongIdFormat, WrongUserKey, ZeroBalance, ZeroCaptchaFilesize
Constant Summary
collapse
- VERSION =
"0.0.1"
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
12
13
14
|
# File 'lib/antigate_rb.rb', line 12
def self.configuration
@configuration ||= Configuration.new
end
|
8
9
10
|
# File 'lib/antigate_rb.rb', line 8
def self.configure(&block)
yield(configuration)
end
|