Exception: SimpleWebToken::InvalidOption

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

Instance Method Summary collapse

Constructor Details

#initialize(missing_option) ⇒ InvalidOption

Returns a new instance of InvalidOption.



3
4
5
# File 'lib/swt/exceptions.rb', line 3

def initialize(missing_option)
  super("You did not provide one of the required parameters. Please provide the :#{missing_option}.")
end