Exception: TwitchOAuth2::AuthorizeError

Inherits:
Error
  • Object
show all
Defined in:
lib/twitch_oauth2/authorize_error.rb

Overview

Error for ‘#authorize_link`

Instance Attribute Summary collapse

Instance Method Summary collapse

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

Returns the value of attribute link.



6
7
8
# File 'lib/twitch_oauth2/authorize_error.rb', line 6

def link
  @link
end