a REST api consumer/client app in RAILS