Exception: AdsCommon::Errors::CaptchaRequiredError
Overview
Raised when ClientLogin Captcha challenge occurs.
Instance Attribute Summary collapse
-
#auth_url ⇒ Object
readonly
Returns the value of attribute auth_url.
-
#captcha_token ⇒ Object
readonly
Returns the value of attribute captcha_token.
-
#captcha_url ⇒ Object
readonly
Returns the value of attribute captcha_url.
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Attributes inherited from AuthError
Instance Method Summary collapse
-
#initialize(error, captcha_token, captcha_url, auth_url) ⇒ CaptchaRequiredError
constructor
A new instance of CaptchaRequiredError.
Constructor Details
#initialize(error, captcha_token, captcha_url, auth_url) ⇒ CaptchaRequiredError
Returns a new instance of CaptchaRequiredError.
53 54 55 56 57 |
# File 'lib/ads_common/errors.rb', line 53 def initialize(error, captcha_token, captcha_url, auth_url) super() @error, @captcha_token = error, captcha_token @captcha_url, @auth_url = captcha_url, auth_url end |
Instance Attribute Details
#auth_url ⇒ Object (readonly)
Returns the value of attribute auth_url.
52 53 54 |
# File 'lib/ads_common/errors.rb', line 52 def auth_url @auth_url end |
#captcha_token ⇒ Object (readonly)
Returns the value of attribute captcha_token.
51 52 53 |
# File 'lib/ads_common/errors.rb', line 51 def captcha_token @captcha_token end |
#captcha_url ⇒ Object (readonly)
Returns the value of attribute captcha_url.
52 53 54 |
# File 'lib/ads_common/errors.rb', line 52 def captcha_url @captcha_url end |
#error ⇒ Object (readonly)
Returns the value of attribute error.
51 52 53 |
# File 'lib/ads_common/errors.rb', line 51 def error @error end |