Exception: AdsCommon::Errors::OAuth2VerificationRequired
Overview
Raised when OAuth2 access token is required.
Instance Attribute Summary collapse
-
#oauth_url ⇒ Object
readonly
Returns the value of attribute oauth_url.
Attributes inherited from AuthError
Instance Method Summary collapse
-
#initialize(oauth_url) ⇒ OAuth2VerificationRequired
constructor
A new instance of OAuth2VerificationRequired.
Constructor Details
#initialize(oauth_url) ⇒ OAuth2VerificationRequired
Returns a new instance of OAuth2VerificationRequired.
43 44 45 46 |
# File 'lib/ads_common/errors.rb', line 43 def initialize(oauth_url) super() @oauth_url = oauth_url end |
Instance Attribute Details
#oauth_url ⇒ Object (readonly)
Returns the value of attribute oauth_url.
42 43 44 |
# File 'lib/ads_common/errors.rb', line 42 def oauth_url @oauth_url end |