app/controllers/oai_controller.rb
# Return valid OAI-PMH arguments or raise BadArgument if any are invalid.
Return valid OAI-PMH arguments or raise BadArgument if any are invalid.
Return valid OAI - PMH arguments or raise BadArgument if any are invalid .
def oai_params(*permitted_params)
    raise OaiConcern::BadArgument unless params.except(:controller, :action, *permitted_params).empty?
    params.permit(*permitted_params)
  end
def oai_params ( * permitted_params ) raise OaiConcern :: BadArgument unless params . except ( :controller , :action , * permitted_params ) . empty? params . permit ( * permitted_params ) end
Return valid OAI-PMH arguments or raise BadArgument if any are invalid.
Return valid OAI - PMH arguments or raise BadArgument if any are invalid .
permitted_params
<not_specific>