1 2 3 4
class StreetAddress < ActiveResource::Base self.site = "http://37s.sunrise.i:3000/people/:person_id" self.element_name = 'address' end