Displaying 1 result from an estimated 1 matches for "find_all_cars".
2006 Nov 04
1
layere dispatching - please help!
...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]]
end
class CarService < ActionWebService::Base
web_...