diff options
author | Kent Sibilev <ksibilev@gmail.com> | 2006-08-23 09:34:46 +0000 |
---|---|---|
committer | Kent Sibilev <ksibilev@gmail.com> | 2006-08-23 09:34:46 +0000 |
commit | d37604f03ee9af7cf2d65ec2e1be986342a965c5 (patch) | |
tree | d15498a8460a37f8d1af65217ff7cd5acddb2ab3 /actionwebservice/test/abstract_dispatcher.rb | |
parent | 8cbe22ab5155680fa0ef2da4321a4f291aaf78fe (diff) | |
download | rails-d37604f03ee9af7cf2d65ec2e1be986342a965c5.tar.gz rails-d37604f03ee9af7cf2d65ec2e1be986342a965c5.tar.bz2 rails-d37604f03ee9af7cf2d65ec2e1be986342a965c5.zip |
Fixed XMLRPC multicall when one of the called methods returns a struct object.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4810 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionwebservice/test/abstract_dispatcher.rb')
-rw-r--r-- | actionwebservice/test/abstract_dispatcher.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/actionwebservice/test/abstract_dispatcher.rb b/actionwebservice/test/abstract_dispatcher.rb index b857e4a957..e5a08392b4 100644 --- a/actionwebservice/test/abstract_dispatcher.rb +++ b/actionwebservice/test/abstract_dispatcher.rb @@ -110,6 +110,7 @@ module DispatcherTest api_method :getCategories, :returns => [[:string]] api_method :bool, :returns => [:bool] api_method :alwaysFail + api_method :person, :returns => [Person] end class BloggerAPI < ActionWebService::API::Base @@ -133,6 +134,10 @@ module DispatcherTest def alwaysFail raise "MT AlwaysFail" end + + def person + Person.new('id' => 1, 'name' => 'person1') + end end class BloggerService < ActionWebService::Base |