How to Read attachent coming from a webservice

Hi All,

I am having problem reading a file witch is coming from a web service.
When I execute my web service method it retunes a response with an
attachment.
How to save this attachment in rails application?