Sha256: 57a565bc9c39466a4f41c525972ab8eabc58654d77edfcec5114559b0db59c56
Contents?: true
Size: 1.21 KB
Versions: 2
Compression:
Stored size: 1.21 KB
Contents
require 'base64' require 'json' require 'net/http' require 'openssl' # # The module AntiCaptcha contains all the code for the anti_captcha gem. # It acts as a safely namespace that isolates logic of AntiCaptcha from any # project that uses it. # module AntiCaptcha # # Creates an Anti Captcha API client. This is a shortcut to # AntiCaptcha::Client.new. # def self.new(key, options = {}) AntiCaptcha::Client.new(key, options) end # # Base class of a model object returned by AntiCaptcha API. # class Model def initialize(values = {}) values.each do |key, value| send("#{key}=", value) if respond_to?("#{key}=") end end end end require 'anti_captcha/http' require 'anti_captcha/errors' require 'anti_captcha/models/solution' require 'anti_captcha/models/image_to_text_solution' require 'anti_captcha/models/recaptcha_v2_solution' require 'anti_captcha/models/recaptcha_v3_solution' require 'anti_captcha/models/fun_captcha_solution' require 'anti_captcha/models/h_captcha_solution' require 'anti_captcha/models/geetest_solution' require 'anti_captcha/models/turnstile_solution' require 'anti_captcha/models/task_result' require 'anti_captcha/client' require 'anti_captcha/version'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
anti_captcha-2.6.0 | lib/anti_captcha.rb |
anti_captcha-2.5.0 | lib/anti_captcha.rb |