Sha256: 4f9495e04da04e799f699951688e9d87d9fe46eb4d543c1e98df0a78c83283b1

Contents?: true

Size: 330 Bytes

Versions: 3

Compression:

Stored size: 330 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/kojac_front_methods.rb')

class KojacFrontController < ActionController::Base

	include KojacFrontMethods
	include Kojac::ControllerOpMethods

	respond_to :json

	public

	def receive
		jsono,status = process_input(params[:kojac])
		render json: jsono, status: status
	end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kojac-0.17.0 app/controllers/kojac_front_controller.rb
kojac-0.16.0 app/controllers/kojac_front_controller.rb
kojac-0.15.0 app/controllers/kojac_front_controller.rb