Tfs api from rails

does anyone have an idea if there is a way to make calls to the TFS api
from a rails app?
i think i saw something about team system web access having a soap api
that you can use.

the reason i ask is I am creating a web ap at work for us to use and we
want to be able to add work items to tis and track work items in tis to
update certain things in our app when they change, and I would rather
use rails than mvc if i can. so i was wondering if anyone else
has done this before