Module: Roda::RodaPlugins::TypecastParams::InstanceMethods

Defined in:
lib/roda/plugins/typecast_params.rb

Instance Method Summary collapse

Instance Method Details

#typecast_paramsObject

Return and cache the instance of the Params class for the current request. Type conversion methods will be called on the result of this method.



1130
1131
1132
# File 'lib/roda/plugins/typecast_params.rb', line 1130

def typecast_params
  @_typecast_params ||= self.class::TypecastParams.new(@_request.params)
end