Ruby and gdata

Discussion in 'Mac Programming' started by hiddenpremise, Sep 2, 2010.

  1. hiddenpremise macrumors regular


    Jul 25, 2008
    Somewhere between my imagination and reality
    I am crafting a folder action that will keep my semester's files in sync with my google docs accounts. I am writing it in ruby and using the gdata gem as an exercise in my ruby skills. Getting listings of folders and files has not been a problem so far, but I am at a loss for how to craft the MIME Post for uploading a document. I know that I have to use some sort of request through my GData::Client object, but I don't know what to do. Google's docs on crafting a upload request are pretty clear at, but I don't know how to format that request in ruby or send it. Does anyone have any experience here? Know of any worthwhile documentation? The ruby gdata docs are here Obviously they don't break down all of their objects and methods and leave a lot up to you to pour through their source to decipher.

    Thanks in advance,

    even pointing me in the direction of a healthy ruby scripting community (not rails, just ruby) would be an enormous help. I have no idea what to do or who to go to for help.

Share This Page