Design question for a web service client

I have a module that queries a web service and returns an xml
document (sometimes more than one).
I’ve put the module under lib, and created a model to use the
resulting xml documents.
Obviously the document needs to be parsed with rexml, and return a
ruby data structure to the controller that can be used in various
ways in my views.
Would you implement all the specialized parsing stuff inside the
model or inside the lib/ module ?


Nicholas W.
[email protected]

Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB

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