aboutsummaryrefslogtreecommitdiffstats
path: root/actionservice/lib/action_service/invocation.rb
diff options
context:
space:
mode:
authorLeon Breedt <bitserf@gmail.com>2005-02-18 21:22:52 +0000
committerLeon Breedt <bitserf@gmail.com>2005-02-18 21:22:52 +0000
commitfdecb6843ba8c5b0f718225f343017e11fa7f711 (patch)
treeb8bd2050955bbc528ee23f3d42a18ee31d5f9833 /actionservice/lib/action_service/invocation.rb
parent5dcbe933dfd34bb799ee370792b6066f6d6ceaac (diff)
downloadrails-fdecb6843ba8c5b0f718225f343017e11fa7f711.tar.gz
rails-fdecb6843ba8c5b0f718225f343017e11fa7f711.tar.bz2
rails-fdecb6843ba8c5b0f718225f343017e11fa7f711.zip
rename service* to web_service*.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@668 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionservice/lib/action_service/invocation.rb')
-rw-r--r--actionservice/lib/action_service/invocation.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionservice/lib/action_service/invocation.rb b/actionservice/lib/action_service/invocation.rb
index f20b546c5a..f35ab76386 100644
--- a/actionservice/lib/action_service/invocation.rb
+++ b/actionservice/lib/action_service/invocation.rb
@@ -17,7 +17,7 @@ module ActionService # :nodoc:
# and after method invocations on ActionService::Base objects.
#
# When running in _Direct_ dispatching mode, ActionController filters
- # should be used for this functionality.
+ # should be used for this functionality instead.
#
# The semantics of invocation interceptors are the same as ActionController
# filters, and accept the same parameters and options.
@@ -147,8 +147,8 @@ module ActionService # :nodoc:
def perform_invocation(invocation)
if invocation.concrete?
unless self.respond_to?(invocation.method_name) && \
- self.class.service_api.has_api_method?(invocation.method_name)
- raise InvocationError, "no such service method '#{invocation.method_name}'"
+ self.class.web_service_api.has_api_method?(invocation.method_name)
+ raise InvocationError, "no such web service method '#{invocation.method_name}' on service object"
end
end
params = invocation.params