Sha256: ae3155c42af6d1c289df239880ec70c93be921e0650c974ffa047b7a05ecb75f
Contents?: true
Size: 364 Bytes
Versions: 12
Compression:
Stored size: 364 Bytes
Contents
module Naf class LogParsersController < Naf::ApplicationController def logs response = params['logical_type'].constantize.new(params).logs if response.present? success = true else success = false end render json: "convertToJsonCallback(" + { success: success }.merge(response).to_json + ")" end end end
Version data entries
12 entries across 12 versions & 1 rubygems