Exception: AdsCommon::Errors::OAuth2VerificationRequired

Inherits:
AuthError
  • Object
show all
Defined in:
lib/ads_common/errors.rb

Overview

Raised when OAuth2 access token is required.

Instance Attribute Summary collapse

Attributes inherited from AuthError

#error, #info

Instance Method Summary collapse

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_urlObject (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