lib/batch_api/operation/rails.rb
# Internal: process the params the Rails way, merging in the
# path_parameters.  If the route can't be recognized, it will
# leave the params unchanged.
#
# Returns the updated params.
process the params the Rails way, merging in the
path_parameters.  If the route can't be recognized, it will
leave the params unchanged.

Returns the updated params.
process the params the Rails way merging in the path_parameters . If the route can ' t be recognized it will leave the params unchanged . Returns the updated params .
def params_with_path_components
        begin
          path_params = ::Rails.application.routes.recognize_path(@url, @op)
          @params.merge(path_params)
        rescue
          @params
        end
      end
def params_with_path_components begin path_params = :: Rails . application . routes . recognize_path ( @url , @op ) @params . merge ( path_params ) rescue @params end end
Internal: process the params the Rails way, merging in the
path_parameters.
Internal : process the params the Rails way merging in the path_parameters .