Exception: GData::Client::CaptchaError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/gdata/client.rb

Overview

An error caused by ClientLogin issuing a CAPTCHA error.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(token, url) ⇒ CaptchaError

Returns a new instance of CaptchaError.



68
69
70
71
# File 'lib/gdata/client.rb', line 68

def initialize(token, url)
  @token = token
  @url = url
end

Instance Attribute Details

#tokenObject (readonly)

The token identifying the CAPTCHA



64
65
66
# File 'lib/gdata/client.rb', line 64

def token
  @token
end

#urlObject (readonly)

The URL to the CAPTCHA image



66
67
68
# File 'lib/gdata/client.rb', line 66

def url
  @url
end