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.



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

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

Instance Attribute Details

#tokenObject (readonly)

The token identifying the CAPTCHA



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

def token
  @token
end

#urlObject (readonly)

The URL to the CAPTCHA image



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

def url
  @url
end