= Apricot eats Gorilla Apricot eats Gorilla is a SOAP communication helper. It translates between SOAP messages (XML) and Ruby Hashes and comes with some additional helpers for working with SOAP services. == Install $ gem install smacks-apricoteatsgorilla -s http://gems.github.com == Dependencies hpricot 0.8.241 (the latest JRuby-compatible version) Also available at: {GitHub Downloads}[http://github.com/rubiii/apricoteatsgorilla/downloads] == Translate an XML String into a Ruby Hash xml = ' Gorilla ' ApricotEatsGorilla[xml, "//return"] # => { :apricot => { :eats => "Gorilla" } } == Translate a Ruby Hash into an XML String hash = { :apricot => { :eats => "Gorilla" } } ApricotEatsGorilla[hash] # => "Gorilla" == Build a SOAP request envelope ApricotEatsGorilla.soap_envelope { "Gorilla" } # => ' # => # => Gorilla # => # => ' == Read more For more detailed information, please take a look at the {GitHub Wiki}[http://wiki.github.com/rubiii/apricoteatsgorilla].