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.



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

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

Instance Attribute Details

#tokenObject (readonly)

The token identifying the CAPTCHA



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

def token
  @token
end

#urlObject (readonly)

The URL to the CAPTCHA image



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

def url
  @url
end