Using Magento SOAPv2 API from Ruby
While we were developing Meets.io, one thing we had to do a ton of times was testing how Magento SOAP API behaves with some sample data and we found in Ruby and Savon a very neat tool for testing before implementing the real thing.
I've posted a Gist with sample code to get a product from Magento SOAP API. Savon is a really powerful tool, it handles the parsing for us and returns the data in a handy Hash.
https://gist.github.com/javiertoledo/9830943
In fact, since we have written a good amount of snippets like this one we're wondering if it could be useful to build a wrapper and port Meets to Ruby, what do you think?
Written by Javier Toledo
Related protips
Have a fresh tip? Share with Coderwall community!
Magento checkout pages are a common target for Magecart-style card skimming. Payment, analytics, and extension scripts on those pages need an inventory and a watch for silent changes.
Security insights from Cside