diff options
Diffstat (limited to 'actionwebservice/lib/action_web_service/dispatcher/abstract.rb')
-rw-r--r-- | actionwebservice/lib/action_web_service/dispatcher/abstract.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/actionwebservice/lib/action_web_service/dispatcher/abstract.rb b/actionwebservice/lib/action_web_service/dispatcher/abstract.rb index 641f291533..1df03d1777 100644 --- a/actionwebservice/lib/action_web_service/dispatcher/abstract.rb +++ b/actionwebservice/lib/action_web_service/dispatcher/abstract.rb @@ -12,6 +12,14 @@ module ActionWebService # :nodoc: base.send(:include, ActionWebService::Dispatcher::InstanceMethods) end + def self.layered_service_name(public_method_name) # :nodoc: + if public_method_name =~ /^([^\.]+)\.(.*)$/ + $1 + else + nil + end + end + module InstanceMethods # :nodoc: private def invoke_web_service_request(protocol_request) |