Displaying 1 result from an estimated 1 matches for "mboxhash".
2005 Feb 24
8
web services with ActionWebService
...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
inflect_names false
api_method :friends, :returns => [[:string]], :expects => [
{:mboxhash => :string}
]
end
And then in my app/controllers/person_controller.rb file I have:
class PersonController < ApplicationController
layout "xhtml11common", :except => :foaf
def show
@person = Person.find @params["id"]
if @session["curre...