From [Pardot's API documentation](http://developer.pardot.com/#using-the-api), the `format` parameter is used to set the API data format (`xml` or `json`), but currently ruby-pardot is [setting](https://github.com/Pardot/ruby-pardot/blob/master/lib/pardot/client.rb#L30) it wrong: ``` ruby def initialize email, password, user_key @email = email @password = password @user_key = user_key @format = "simple" end ``` as `simple` is a value used for [response format](http://developer.pardot.com/#changing-the-api-response-format), in which case the `output` parameter should be used. Also the documentation needs to be corrected: [Output formats](https://github.com/Pardot/ruby-pardot#output-formats)
Activity