Exception: GData::Client::CaptchaError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- GData::Client::CaptchaError
- Defined in:
- lib/gdata/client.rb
Overview
An error caused by ClientLogin issuing a CAPTCHA error.
Instance Attribute Summary collapse
-
#token ⇒ Object
readonly
The token identifying the CAPTCHA.
-
#url ⇒ Object
readonly
The URL to the CAPTCHA image.
Instance Method Summary collapse
-
#initialize(token, url) ⇒ CaptchaError
constructor
A new instance of CaptchaError.
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
#token ⇒ Object (readonly)
The token identifying the CAPTCHA
66 67 68 |
# File 'lib/gdata/client.rb', line 66 def token @token end |
#url ⇒ Object (readonly)
The URL to the CAPTCHA image
68 69 70 |
# File 'lib/gdata/client.rb', line 68 def url @url end |