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.
68 69 70 71 |
# File 'lib/gdata/client.rb', line 68 def initialize(token, url) @token = token @url = url end |
Instance Attribute Details
#token ⇒ Object (readonly)
The token identifying the CAPTCHA
64 65 66 |
# File 'lib/gdata/client.rb', line 64 def token @token end |
#url ⇒ Object (readonly)
The URL to the CAPTCHA image
66 67 68 |
# File 'lib/gdata/client.rb', line 66 def url @url end |