Closed dhirajbajaj closed 10 years ago
Hi, I've tested the gem on v 1.5.6 of the PrestaShop and for my particular use case it works correctly. What kind of issue did you encounter ?
I got this. "Unsupported PrestaShop web service version : 1.5.6.0." It is failing validation in headers.rb
Hi, I've post a fix to this issue and it will hopefully work for you.
Hey, I forked and changed that for my usage.
While parsing customer with id = 1.
customer = PrestaShop::Customer.find 1
# customer = PrestaShop.get resource: :customers, id: 1
render :text => customer.to_yaml
I get undefined method `xml_node_to_hash' for PrestaShop::Parser:Module
see: http://ruby-doc.org/gems/docs/h/hosemonkey-0.1.0/Hash.html#method-c-xml_node_to_hash https://gist.github.com/huy/819999
Yes, that's something that I don't have tests for (entity with associations). I'll post an update shortly.
Hi, thanks for the update. I'll pull your changes into the gem.
Hi, Can you update the gem for 1.5.6 version.