Method: Interpol::InvalidPathParamsError#initialize
- Defined in:
- lib/interpol/errors.rb
#initialize(*invalid_params) ⇒ InvalidPathParamsError
Returns a new instance of InvalidPathParamsError.
60 61 62 63 |
# File 'lib/interpol/errors.rb', line 60 def initialize(*invalid_params) @invalid_params = invalid_params super("The path params #{invalid_params.join(', ')} are not in the route") end |