search for: web_service_dispatch_mode

Displaying 1 result from an estimated 1 matches for "web_service_dispatch_mode".

2006 Jun 07
0
Logger in ActionWebService::Base?
...at logger is not a class_variable of AWS::Base. This kind of scares me away from using the layered dispatch mode, as I''d like to have logging in the method implementations. Is there a clean way of accessing the Rails::Configuration logger from ActionWebService::Base, or should I stick with web_service_dispatch_mode :direct for now? class FooController < ApplicationController web_service_dispatching_mode :layered web_service(:bar) { BarService.new } end class BarApi < ActionWebService::API::Base api_method :qux end class BarService < ActionWebService::Base def qux p logger end end g...