Webservice Problem?

Discussion in 'Ruby' started by Varun Goel, May 19, 2008.

  1. Varun Goel

    Varun Goel Guest

    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
    --
    Posted via http://www.ruby-forum.com/.
     
    Varun Goel, May 19, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. batista
    Replies:
    1
    Views:
    940
    Laurent Bugnion
    Jan 26, 2006
  2. batista
    Replies:
    0
    Views:
    576
    batista
    Jan 26, 2006
  3. Mr. x
    Replies:
    2
    Views:
    731
    Andrew
    Oct 10, 2003
  4. Cyril
    Replies:
    2
    Views:
    4,528
    Cyril
    Jun 1, 2006
  5. batista
    Replies:
    0
    Views:
    264
    batista
    Jan 26, 2006
Loading...

Share This Page