- Use ORM to verify input data from user and pass it to the API
- Verify XML (API response) by XSD (from file)
- Automate parsing XML to Ruby hash (class Hash extended with #from_xml method)
You can see the article on this example URL
Copyright © Yury Yantsevich, Iron.io
Code is under MIT license.