Displaying 1 result from an estimated 1 matches for "carapi".
Did you mean:
carapp
2006 Nov 04
1
layere dispatching - please help!
...#39;ve defined my controller (backend_controller.rb) as:
class BackendController < ApplicationController
web_service_dispatching_mode :layered
web_service_scaffold :invoke
web_service (:car) {CarService.new}
end
and my service (node_service.rb) as:
class CarApi < ActionWebService::API::Base
api_method :find_all_cars,
:returns => [[:int]]
api_method :find_car_by_id,
:expects => [:int],
:returns => [Car]
api_method :find_car_by_name,
:expects => [:string],
:returns => [[Car]]...