Rapleaf/marketo_gem — pull request #4 by plusjade (2013-01-12 21:59:08+00:00)
Title: Rails 3.1 compatible upgrades.

Savon gem is grossly out of date and doesn't play well with more up to date gems (curb).

- Upgrade to highest working Savon gem 1.2 (as of writing gem is at 2.0.2)
- Upgrade to the latest 2_0 marketo endpoint (hardcoded endpoint kept producing "request not recognized" errors).
- Change config inputs to hash style so you can custom-define the entire endpoint.

I don't expect you to merge this because changing the config to hash style will break the API. However, it's generally good practice so we don't have to keep remembering the order of the params.

Please feel free to cherry pick my work, and commit them yourself if you want. This pull is so other people searching for this gem and running into the same problems have some answers.

Also please let us know if and when you plan to update compatibility with your own API (marketo). I know it's likely not your fault _personally_ but from one professional company (Gild) using your services to another profesional company (marketo) we would really appreciate some updates.