Exception: Hitch::AccessToken::OAuthError
- Inherits:
-
StandardError
- Object
- StandardError
- Hitch::AccessToken::OAuthError
- Defined in:
- app/models/hitch/access_token.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#oauth_code ⇒ Object
readonly
Returns the value of attribute oauth_code.
Instance Method Summary collapse
-
#initialize(oauth_code, description) ⇒ OAuthError
constructor
A new instance of OAuthError.
Constructor Details
#initialize(oauth_code, description) ⇒ OAuthError
Returns a new instance of OAuthError.
30 31 32 33 34 |
# File 'app/models/hitch/access_token.rb', line 30 def initialize(oauth_code, description) @oauth_code = oauth_code @description = description super(description) end |
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
28 29 30 |
# File 'app/models/hitch/access_token.rb', line 28 def description @description end |
#oauth_code ⇒ Object (readonly)
Returns the value of attribute oauth_code.
28 29 30 |
# File 'app/models/hitch/access_token.rb', line 28 def oauth_code @oauth_code end |