Class: MangoModel::ResponseReplica
- Inherits:
-
Object
- Object
- MangoModel::ResponseReplica
- 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
Instance Attribute Summary collapse
-
#content_length ⇒ Object
- String
-
Value of the original response’s Content-Length header.
-
#content_type ⇒ Object
- String
-
Value of the original response’s Content-Type header.
-
#long_date ⇒ Object
- DateTime
-
Time of request of the original response.
-
#request_url ⇒ Object
- String
-
URL of the original request.
-
#resource ⇒ Object
- Object
-
The original response object.
-
#status_code ⇒ Object
- String
-
Original response’s status code.
Method Summary
Methods included from MangoPay::Jsonifier
Instance Attribute Details
#content_length ⇒ Object
- 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_type ⇒ Object
- 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_date ⇒ Object
- 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_url ⇒ Object
- String
-
URL of the original request
25 26 27 |
# File 'lib/mangopay/model/response_replica.rb', line 25 def request_url @request_url end |
#resource ⇒ Object
- Object
-
The original response object
22 23 24 |
# File 'lib/mangopay/model/response_replica.rb', line 22 def resource @resource end |
#status_code ⇒ Object
- String
-
Original response’s status code
10 11 12 |
# File 'lib/mangopay/model/response_replica.rb', line 10 def status_code @status_code end |