Exception: Miwifi::NoTokenError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/miwifi.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'You are unauthorized', exception_type = 'custom') ⇒ NoTokenError

Returns a new instance of NoTokenError.



31
32
33
34
# File 'lib/miwifi.rb', line 31

def initialize(msg = 'You are unauthorized', exception_type = 'custom')
	@exception_type = exception_type
	super(msg)
end