Displaying 1 result from an estimated 1 matches for "person_api".
Did you mean:
person_a
2005 Feb 24
8
web services with ActionWebService
...self is showing through again. I''m trying to
write a simple hello-world type web service with the ActionWebService
thingy. I didn''t get very far. I''ve only done web services stuff in
.NET, so I''m not exactly used to this sort of thing.
Anyhow, I have a file, person_api.rb in my app/apis folder. I want to
take a single string as a parameter, and return an array of strings.
I''m not sure if I got the method signature stuff correct.
My current code for the app/apis/person_api.rb file is like this:
class PersonAPI < ActionWebService::API::Base
infl...