How to send SMS using textmarks

Does any body know how to send SMS using textmarks in ruby on rails. I
have got the API key. how to make it using HTTP request Post.??

I'm currently working on a plugin/gem for textmarks that can easily be
integrated to any rails application.