Exception: TwitchOAuth2::AuthorizeError
- Defined in:
- lib/twitch_oauth2/authorize_error.rb
Overview
Error for ‘#authorize_link`
Instance Attribute Summary collapse
-
#link ⇒ Object
readonly
Returns the value of attribute link.
Instance Method Summary collapse
-
#initialize(link) ⇒ AuthorizeError
constructor
A new instance of AuthorizeError.
Constructor Details
#initialize(link) ⇒ AuthorizeError
Returns a new instance of AuthorizeError.
8 9 10 11 |
# File 'lib/twitch_oauth2/authorize_error.rb', line 8 def initialize(link) @link = link super 'Direct user to `error.link` and assign `code`' end |
Instance Attribute Details
#link ⇒ Object (readonly)
Returns the value of attribute link.
6 7 8 |
# File 'lib/twitch_oauth2/authorize_error.rb', line 6 def link @link end |