How to call secure web service using ruby?

I want to know how to build SECURE webservice in rails and how to call the secure web service using ruby ?

Thanks!