lib/archivesspace/client/response.rb in archivesspace-client-0.1.7 vs lib/archivesspace/client/response.rb in archivesspace-client-0.1.8
- old
+ new
@@ -1,12 +1,11 @@
# frozen_string_literal: true
module ArchivesSpace
class Response
- attr_reader :result, :parsed, :body, :headers, :status, :status_code, :xml
+ attr_reader :result, :parsed, :body, :headers, :status, :status_code
def initialize(result)
- # throw error
@result = result
@parsed = result.parsed_response
@body = result.body
@headers = result.headers
@status = result.response