How to set an specific IP address to do a WEB services request

The problem is when the web service does a request, it uses User IP
address instead of using IP server so all the request are blocked.

How Do I tell ruby to use an specific IP when launching WEB services
requested?