lib/archivesspace/client/response.rb in archivesspace-client-0.1.12 vs lib/archivesspace/client/response.rb in archivesspace-client-0.2.0

- old
+ new

@@ -3,14 +3,14 @@ module ArchivesSpace class Response attr_reader :result, :parsed, :body, :headers, :status, :status_code def initialize(result) - @result = result - @parsed = result.parsed_response - @body = result.body - @headers = result.headers - @status = result.response + @result = result + @parsed = result.parsed_response + @body = result.body + @headers = result.headers + @status = result.response @status_code = result.code.to_i end end end