Exception: MiniAuth::AuthError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/mini_auth/auth_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, auth_url = nil) ⇒ AuthError

Returns a new instance of AuthError.



7
8
9
10
# File 'lib/mini_auth/auth_error.rb', line 7

def initialize(msg, auth_url = nil)
  super(msg)
  @auth_url = auth_url
end

Instance Attribute Details

#auth_urlObject (readonly)

Returns the value of attribute auth_url.



5
6
7
# File 'lib/mini_auth/auth_error.rb', line 5

def auth_url
  @auth_url
end