aboutsummaryrefslogtreecommitdiffstats
path: root/actionservice/examples/googlesearch/delegated/google_search_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionservice/examples/googlesearch/delegated/google_search_service.rb')
-rw-r--r--actionservice/examples/googlesearch/delegated/google_search_service.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/actionservice/examples/googlesearch/delegated/google_search_service.rb b/actionservice/examples/googlesearch/delegated/google_search_service.rb
index 84faf220ae..da7f8f4529 100644
--- a/actionservice/examples/googlesearch/delegated/google_search_service.rb
+++ b/actionservice/examples/googlesearch/delegated/google_search_service.rb
@@ -1,5 +1,3 @@
-require 'action_service'
-
class DirectoryCategory < ActionService::Struct
member :fullViewableName, :string
member :specialEncoding, :string
@@ -52,7 +50,7 @@ class GoogleSearchAPI < ActionService::API::Base
end
class GoogleSearchService < ActionService::Base
- service_api GoogleSearchAPI
+ web_service_api GoogleSearchAPI
def doGetCachedPage(key, url)
"<html><body>i am a cached page</body></html>"