Sha256: 2d0e5d57d6a55716317b1bb396185499c66a3006322f681344ff6a871733dbb2

Contents?: true

Size: 694 Bytes

Versions: 3

Compression:

Stored size: 694 Bytes

Contents

require_relative '../common/jsonifier'

module MangoModel

  # Replication of a previous request's response
  class ResponseReplica
    include MangoPay::Jsonifier

    # [String] Original response's status code
    attr_accessor :status_code

    # [String] Value of the original response's Content-Length header
    attr_accessor :content_length

    # [String] Value of the original response's Content-Type header
    attr_accessor :content_type

    # [DateTime] Time of request of the original response
    attr_accessor :long_date

    # [Object] The original response object
    attr_accessor :resource

    # [String] URL of the original request
    attr_accessor :request_url
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mangopay-v4-4.1.0 lib/mangopay/model/response_replica.rb
mangopay-v4-4.0.2 lib/mangopay/model/response_replica.rb
mangopay-v4-4.0.1 lib/mangopay/model/response_replica.rb