Exception: SimpleWebToken::InvalidOption
- Inherits:
-
StandardError
- Object
- StandardError
- SimpleWebToken::InvalidOption
- Defined in:
- lib/swt/exceptions.rb
Instance Method Summary collapse
-
#initialize(missing_option) ⇒ InvalidOption
constructor
A new instance of InvalidOption.
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 |