Connecting Magento API with Rails