Displaying 1 result from an estimated 1 matches for "return_text".
Did you mean:
return_ext
2006 Jul 22
0
multiple return values in action web service
...advice about returning multiple values from an
ActionWebService? That is, I''d like to implement something like the
following.
api_method :do_something,
:expects => [{:id => :string}],
:returns => [{:return_code => :int},
{:return_text => :string}]
The easy way to do it would be to wrap everything in a struct:
class ReturnStatus < ActionWebService::Struct
member :return_code, :int
member :return_text, :string
end
api_method :do_something,
:expects => [{:id => :string}],
:returns =&...