Class: Aws::S3Interface::S3HttpResponseParser
- Inherits:
-
Object
- Object
- Aws::S3Interface::S3HttpResponseParser
show all
- Defined in:
- lib/s3/s3_interface.rb
Overview
Instance Attribute Summary collapse
Instance Method Summary
collapse
Instance Attribute Details
#result ⇒ Object
1243
1244
1245
|
# File 'lib/s3/s3_interface.rb', line 1243
def result
@result
end
|
Instance Method Details
1249
1250
1251
1252
1253
1254
1255
1256
|
# File 'lib/s3/s3_interface.rb', line 1249
def ()
result = {}
.each do |key, value|
value = value[0] if value.is_a?(Array) && value.size<2
result[key] = value
end
result
end
|
#parse(response) ⇒ Object
1245
1246
1247
|
# File 'lib/s3/s3_interface.rb', line 1245
def parse(response)
@result = response
end
|