Followed tutorial to setup rest API client: http://squarism.com/2011/04/01/how-to-write-a-ruby-rails-3-rest-api/"