Sha256: c5c2e6e0ca03d581a8b5fb176c68b5dee24ce17a861fcd55a9d61753f9ac2177
Contents?: true
Size: 460 Bytes
Versions: 5
Compression:
Stored size: 460 Bytes
Contents
module Sis module Core class UtilsController < ApplicationController skip_before_action :authenticate_request, only: %i[filter] before_action :set_util_service, only: %i[filter] def filter result = ApplicationRecord.serialize(@service.filter_record(params)) render json: { success: true, data: result } end private def set_util_service @service = UtilService.new end end end end
Version data entries
5 entries across 5 versions & 1 rubygems