ruby web services working examples