aboutsummaryrefslogtreecommitdiffstats
path: root/actionservice/examples/googlesearch/delegated/search_controller.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-02-18 10:35:25 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-02-18 10:35:25 +0000
commite7a29380292902eae4799b2658507b3cfffb9cec (patch)
tree99a7cd3c7d720ef73f998c2756be1fef77ff0ee1 /actionservice/examples/googlesearch/delegated/search_controller.rb
parente39bf105941133d3d6699c52c18dbd3b9aa0bf5c (diff)
downloadrails-e7a29380292902eae4799b2658507b3cfffb9cec.tar.gz
rails-e7a29380292902eae4799b2658507b3cfffb9cec.tar.bz2
rails-e7a29380292902eae4799b2658507b3cfffb9cec.zip
Added Action Service to the repository
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@658 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionservice/examples/googlesearch/delegated/search_controller.rb')
-rw-r--r--actionservice/examples/googlesearch/delegated/search_controller.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/actionservice/examples/googlesearch/delegated/search_controller.rb b/actionservice/examples/googlesearch/delegated/search_controller.rb
new file mode 100644
index 0000000000..58c8321ef2
--- /dev/null
+++ b/actionservice/examples/googlesearch/delegated/search_controller.rb
@@ -0,0 +1,7 @@
+require 'google_search_service'
+
+class SearchController < ApplicationController
+ wsdl_service_name 'GoogleSearch'
+ service_dispatching_mode :delegated
+ service :beta3, GoogleSearchService.new
+end