Open cghan-oktana opened 8 years ago
From Pardot's API documentation, the format parameter is used to set the API data format (xml or json), but currently ruby-pardot is setting it wrong:
format
xml
json
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, in which case the output parameter should be used.
simple
output
Also the documentation needs to be corrected: Output formats
From Pardot's API documentation, the
format
parameter is used to set the API data format (xml
orjson
), but currently ruby-pardot is setting it wrong:as
simple
is a value used for response format, in which case theoutput
parameter should be used.Also the documentation needs to be corrected: Output formats