Class: MangoModel::ResponseReplica

Inherits:
Object
  • Object
show all
Includes:
MangoPay::Jsonifier
Defined in:
lib/mangopay/model/response_replica.rb

Overview

Replication of a previous request’s response

Constant Summary

Constants included from MangoPay::Jsonifier

MangoPay::Jsonifier::LOG

Instance Attribute Summary collapse

Method Summary

Methods included from MangoPay::Jsonifier

#dejsonify, #jsonify!

Instance Attribute Details

#content_lengthObject

String

Value of the original response’s Content-Length header



13
14
15
# File 'lib/mangopay/model/response_replica.rb', line 13

def content_length
  @content_length
end

#content_typeObject

String

Value of the original response’s Content-Type header



16
17
18
# File 'lib/mangopay/model/response_replica.rb', line 16

def content_type
  @content_type
end

#long_dateObject

DateTime

Time of request of the original response



19
20
21
# File 'lib/mangopay/model/response_replica.rb', line 19

def long_date
  @long_date
end

#request_urlObject

String

URL of the original request



25
26
27
# File 'lib/mangopay/model/response_replica.rb', line 25

def request_url
  @request_url
end

#resourceObject

Object

The original response object



22
23
24
# File 'lib/mangopay/model/response_replica.rb', line 22

def resource
  @resource
end

#status_codeObject

String

Original response’s status code



10
11
12
# File 'lib/mangopay/model/response_replica.rb', line 10

def status_code
  @status_code
end