diff options
author | Leon Breedt <bitserf@gmail.com> | 2005-02-18 23:55:29 +0000 |
---|---|---|
committer | Leon Breedt <bitserf@gmail.com> | 2005-02-18 23:55:29 +0000 |
commit | ec03a601811587dd4265667aadd50c101c23b116 (patch) | |
tree | b040f5f1488267b35bc0110efe029a789c3a350b /actionwebservice/examples/googlesearch | |
parent | 5760a6cb3e3f3ce3b41c25023f3fbb875590c5bc (diff) | |
download | rails-ec03a601811587dd4265667aadd50c101c23b116.tar.gz rails-ec03a601811587dd4265667aadd50c101c23b116.tar.bz2 rails-ec03a601811587dd4265667aadd50c101c23b116.zip |
rename entire package to Action Web Service
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@672 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionwebservice/examples/googlesearch')
3 files changed, 13 insertions, 13 deletions
diff --git a/actionwebservice/examples/googlesearch/autoloading/google_search_api.rb b/actionwebservice/examples/googlesearch/autoloading/google_search_api.rb index e7e33a1105..ed69fed7bc 100644 --- a/actionwebservice/examples/googlesearch/autoloading/google_search_api.rb +++ b/actionwebservice/examples/googlesearch/autoloading/google_search_api.rb @@ -1,9 +1,9 @@ -class DirectoryCategory < ActionService::Struct +class DirectoryCategory < ActionWebService::Struct member :fullViewableName, :string member :specialEncoding, :string end -class ResultElement < ActionService::Struct +class ResultElement < ActionWebService::Struct member :summary, :string member :URL, :string member :snippet, :string @@ -15,7 +15,7 @@ class ResultElement < ActionService::Struct member :directoryTitle, :string end -class GoogleSearchResult < ActionService::Struct +class GoogleSearchResult < ActionWebService::Struct member :documentFiltering, :bool member :searchComments, :string member :estimatedTotalResultsCount, :int @@ -29,7 +29,7 @@ class GoogleSearchResult < ActionService::Struct member :searchTime, :float end -class GoogleSearchAPI < ActionService::API::Base +class GoogleSearchAPI < ActionWebService::API::Base inflect_names false api_method :doGetCachedPage, :returns => [:string], :expects => [{:key=>:string}, {:url=>:string}] diff --git a/actionwebservice/examples/googlesearch/delegated/google_search_service.rb b/actionwebservice/examples/googlesearch/delegated/google_search_service.rb index da7f8f4529..ade354d89d 100644 --- a/actionwebservice/examples/googlesearch/delegated/google_search_service.rb +++ b/actionwebservice/examples/googlesearch/delegated/google_search_service.rb @@ -1,9 +1,9 @@ -class DirectoryCategory < ActionService::Struct +class DirectoryCategory < ActionWebService::Struct member :fullViewableName, :string member :specialEncoding, :string end -class ResultElement < ActionService::Struct +class ResultElement < ActionWebService::Struct member :summary, :string member :URL, :string member :snippet, :string @@ -15,7 +15,7 @@ class ResultElement < ActionService::Struct member :directoryTitle, :string end -class GoogleSearchResult < ActionService::Struct +class GoogleSearchResult < ActionWebService::Struct member :documentFiltering, :bool member :searchComments, :string member :estimatedTotalResultsCount, :int @@ -29,7 +29,7 @@ class GoogleSearchResult < ActionService::Struct member :searchTime, :float end -class GoogleSearchAPI < ActionService::API::Base +class GoogleSearchAPI < ActionWebService::API::Base inflect_names false api_method :doGetCachedPage, :returns => [:string], :expects => [{:key=>:string}, {:url=>:string}] @@ -49,7 +49,7 @@ class GoogleSearchAPI < ActionService::API::Base ] end -class GoogleSearchService < ActionService::Base +class GoogleSearchService < ActionWebService::Base web_service_api GoogleSearchAPI def doGetCachedPage(key, url) diff --git a/actionwebservice/examples/googlesearch/direct/google_search_api.rb b/actionwebservice/examples/googlesearch/direct/google_search_api.rb index e7e33a1105..ed69fed7bc 100644 --- a/actionwebservice/examples/googlesearch/direct/google_search_api.rb +++ b/actionwebservice/examples/googlesearch/direct/google_search_api.rb @@ -1,9 +1,9 @@ -class DirectoryCategory < ActionService::Struct +class DirectoryCategory < ActionWebService::Struct member :fullViewableName, :string member :specialEncoding, :string end -class ResultElement < ActionService::Struct +class ResultElement < ActionWebService::Struct member :summary, :string member :URL, :string member :snippet, :string @@ -15,7 +15,7 @@ class ResultElement < ActionService::Struct member :directoryTitle, :string end -class GoogleSearchResult < ActionService::Struct +class GoogleSearchResult < ActionWebService::Struct member :documentFiltering, :bool member :searchComments, :string member :estimatedTotalResultsCount, :int @@ -29,7 +29,7 @@ class GoogleSearchResult < ActionService::Struct member :searchTime, :float end -class GoogleSearchAPI < ActionService::API::Base +class GoogleSearchAPI < ActionWebService::API::Base inflect_names false api_method :doGetCachedPage, :returns => [:string], :expects => [{:key=>:string}, {:url=>:string}] |