class AntiCaptcha::Model

Base class of a model object returned by AntiCaptcha API.

Public Class Methods

new(values = {}) click to toggle source
# File lib/anti_captcha.rb, line 24
def initialize(values = {})
  values.each do |key, value|
    send("#{key}=", value) if respond_to?("#{key}=")
  end
end