[Rails] ActionWebService API

Nicholas Wieland nicholas_wieland at yahoo.it
Mon Jul 31 08:54:30 GMT 2006


Hi *,
I need to pass a hash to a webservice, so I defined my API with:

   api_method :search,
     :expects => [{
       :tags => :string,
       :assignment => :string,
       :resource => :string,
       :lesson_plan => :string,
       :subject => :string,
       :all_types => :string
     }], :returns => [[Resource]]

when I try to test the webservice with scaffold the signature doesn't  
seem to be correct:

Resource[] Search(string subject)

What's happening here ? :)

TIA,
   ngw

-- 
Nicholas Wieland
nicholas_wieland at yahoo.it



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060731/9f2978ce/attachment.html


More information about the Rails mailing list