So it is something with how the file is being attached through this gem.
I have managed to make the sample script that was given on the document page work, abet, it looks horrible and fails at every possible rule of programming but currently with this timeline, I am not able to spend the time to make this actually work nicely through this gem.
A suggestion for you guys to take back to your bosses, build, maintain and support your own gem and libraries for your RESTful services. You will keep happier developers and foster more development within your platform.
Perhaps, but if you're still getting an error when embedding it as a plaintext string that makes me hesitant to suggest that. For example, you can look at the relevant portion of my sample:
You might try using File.new directly?
As I just posted in the other thread of this,
would simply return a pointer to the file, not the contents, you would need to append a .read to that
to get the contents from the file.