Sha256: c09cdc1e69974d53548496b41f5bd3f4e1b7bda4387c559232453ec8b36b3d58
Contents?: true
Size: 378 Bytes
Versions: 4
Compression:
Stored size: 378 Bytes
Contents
# frozen_string_literal: true 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 @status_code = result.code.to_i end end end
Version data entries
4 entries across 4 versions & 1 rubygems