aboutsummaryrefslogtreecommitdiffstats
path: root/actionwebservice/examples/googlesearch/delegated/search_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionwebservice/examples/googlesearch/delegated/search_controller.rb')
-rw-r--r--actionwebservice/examples/googlesearch/delegated/search_controller.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/actionwebservice/examples/googlesearch/delegated/search_controller.rb b/actionwebservice/examples/googlesearch/delegated/search_controller.rb
new file mode 100644
index 0000000000..6525921b5a
--- /dev/null
+++ b/actionwebservice/examples/googlesearch/delegated/search_controller.rb
@@ -0,0 +1,7 @@
+require 'google_search_service'
+
+class SearchController < ApplicationController
+ wsdl_service_name 'GoogleSearch'
+ web_service_dispatching_mode :delegated
+ web_service :beta3, GoogleSearchService.new
+end