Class: Aws::AwsResponseArray
- Defined in:
- lib/awsbase/aws_response_array.rb
Overview
This class is a special array to hold a bit of extra information about a response like: <ResponseMetadata>
<RequestId>4f1fae46-bf3d-11de-a88b-7b5b3d23b3a7</RequestId>
</ResponseMetadata>
Which can be accessed directly from the array using array.response_metadata
Instance Attribute Summary collapse
-
#response_metadata ⇒ Object
Returns the value of attribute response_metadata.
Instance Method Summary collapse
-
#initialize(response_metadata) ⇒ AwsResponseArray
constructor
A new instance of AwsResponseArray.
Constructor Details
#initialize(response_metadata) ⇒ AwsResponseArray
Returns a new instance of AwsResponseArray.
14 15 16 |
# File 'lib/awsbase/aws_response_array.rb', line 14 def initialize() @response_metadata = end |
Instance Attribute Details
#response_metadata ⇒ Object
Returns the value of attribute response_metadata.
12 13 14 |
# File 'lib/awsbase/aws_response_array.rb', line 12 def @response_metadata end |