Class: Aws::AwsResponseArray

Inherits:
Array show all
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

Instance Method Summary collapse

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_metadataObject

Returns the value of attribute response_metadata.



12
13
14
# File 'lib/awsbase/aws_response_array.rb', line 12

def 
  @response_metadata
end