Mounted motor controller method:
module ServiceApi module Api module V1 class RequestorController < ApplicationController def get_details(query_parameters) #some code here end end end end end
Rails app Controller Call get_details(params) method from Mountable Engine
ServiceApi::Api::V1::RequestorController.new.get_details(params)
Francesca rodricks
source share