Skip to content

Instantly share code, notes, and snippets.

@rubiii
Last active December 17, 2015 22:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rubiii/5685880 to your computer and use it in GitHub Desktop.
Save rubiii/5685880 to your computer and use it in GitHub Desktop.
Savon 3.0 TL;DR

Savon 3.0 TL;DR

  • It requires Ruby 1.9 or higher.
  • It is based on the all-new Wasabi 4.0 which is the driving factor behind this version. This means, that we now require a WSDL! There's a TL;DR for Wasabi 4.0 as well and you should read it.
  • HTTP caused a lot of problems and questions which this project should not have to deal with at all, so I'm replacing HTTPI with a simple adapter you can overwrite for authentication, cookies, etc. Added benefit: you can also easily swap it out in your tests.
  • Thanks to the new parser, Savon can now create example requests and show you the types to use.
  • Forget about snake_casing or camelCasing your message Hash key :Symbols or 'Strings' while handling namespace problems, etc. I'm replacing Gyoku with a proper type system that knows the proper names, namespaces, types and attributes.
  • The proper order of elements is ensured by the library. No need for the :order! hack any longer.

Savon 3.0 is currently under heavy development and available on GitHub!
There's some documentation already up at savonrb.com and it's going to be updated soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment