Exception: AdsCommon::Errors::OAuth2VerificationRequired
Overview
Raised when OAuth2.0 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.
45 46 47 48 |
# File 'lib/ads_common/errors.rb', line 45 def initialize(oauth_url) super() @oauth_url = oauth_url end |
Instance Attribute Details
#oauth_url ⇒ Object (readonly)
Returns the value of attribute oauth_url.
44 45 46 |
# File 'lib/ads_common/errors.rb', line 44 def oauth_url @oauth_url end |