# File lib/active_resource/base.rb, line 1378 def id_from_response(response) response['Location'][/\/([^\/]*?)(\.\w+)?$/, 1] if response['Location'] end