This is an example using ActiveResource.