Webservice problem?

Hi All,
I am creating one web service in ror.It’s working fine but now i
wanna make a method in webservice in which i want to pass hash as
parameter.

But i don’t have any idea how to do this.

like
api_method :get_value,:expects => [hash],:returns => [:string]

but i don’t know how to pass means syntax to pass hash as
parameter.Please help me out.

Thanks
Varun

On 19 May 2008, at 12:58, Varun G. wrote:

AFAIK, you can’t have an arbitrary hash. Have a look at
ActionWebService::Struct

Fred

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs