Closed cored closed 12 years ago
Basecamp.use_xml = true
https://github.com/anibalcucco/basecamp-wrapper/blob/master/lib/basecamp/base.rb
I tried that before my call but did not work. I'll show you my code soon.
2011/10/10 Anibal Cucco < reply@reply.github.com>
Basecamp.use_xml = true
https://github.com/anibalcucco/basecamp-wrapper/blob/master/lib/basecamp/base.rb
Reply to this email directly or view it on GitHub:
https://github.com/anibalcucco/basecamp-wrapper/issues/10#issuecomment-2352659
Rafael George
https://gist.github.com/1276795
I'm using that code without success.
To be honest, i haven't tried the use_xml option, that's a legacy thing from the 37Signals' ruby wrapper (http://developer.37signals.com/basecamp/basecamp.rb) and i never had to use it.
Can you be more specific and let me know what kind of calls you're trying to do and why you need xml? maybe we can find the solution together.
Sure,
I'm trying to use the wrapper instead of the local api, for this provider. http://github.com/hybridgroup/ticketmaster-basecamp
I need xml just because I don't want to retrieve all the fixtures for the specs in json that's all is a lazy thing, just that.
2011/10/10 Anibal Cucco < reply@reply.github.com>
To be honest, i haven't tried the use_xml option, that's a legacy thing from the 37Signals' ruby wrapper ( http://developer.37signals.com/basecamp/basecamp.rb) and i never had to use it.
Can you be more specific and let me know what kind of calls you're trying to do and why you need xml? maybe we can find the solution together.
Reply to this email directly or view it on GitHub:
https://github.com/anibalcucco/basecamp-wrapper/issues/10#issuecomment-2353433
Rafael George
Hey,
Now i'm using xml as the default format for the active resource connection: https://github.com/anibalcucco/basecamp-wrapper/commit/a5d7b69a0440e92dcfd60988ca83a79c18c5d2c5
Cheers, Anibal
Cool, thanks
On Wed, Nov 23, 2011 at 8:28 PM, Anibal Cucco < reply@reply.github.com
wrote:
Hey,
Now i'm using xml as the default format for the active resource connection: https://github.com/anibalcucco/basecamp-wrapper/commit/a5d7b69a0440e92dcfd60988ca83a79c18c5d2c5
Cheers, Anibal
Reply to this email directly or view it on GitHub:
https://github.com/anibalcucco/basecamp-wrapper/issues/10#issuecomment-2856889
Rafael George
Hi guys,
How can I change the default format from JSON to XML?
Thanks in advance.