Update rest_adapter.rb