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

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

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.


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