In some cases I need to be able to get the XML body of the response (I need to store those for further XPath processing), therefore I needed to add an option to specify data_type manually. By default it will use json so it doesn't change default behaviour.
Adds :data_type option to EventbriteClient
This change looks good, but you may have trouble getting the original response XML back from HTTParty, which automatically converts the result into a local object.
This already works for me, I do get the raw XML response (it retains the body of the response)
Ah, great - thanks for contributing!