Class: RightAws::S3Interface::S3HttpResponseParser
- Inherits:
-
Object
- Object
- RightAws::S3Interface::S3HttpResponseParser
show all
- Defined in:
- lib/s3/right_s3_interface.rb
Overview
Instance Attribute Summary collapse
Instance Method Summary
collapse
Instance Attribute Details
#result ⇒ Object
1199
1200
1201
|
# File 'lib/s3/right_s3_interface.rb', line 1199
def result
@result
end
|
Instance Method Details
1203
1204
1205
1206
1207
1208
1209
1210
|
# File 'lib/s3/right_s3_interface.rb', line 1203
def ()
result = {}
.each do |key, value|
value = value.first if value.is_a?(Array) && value.size<2
result[key] = value
end
result
end
|
#parse(response) ⇒ Object
1200
1201
1202
|
# File 'lib/s3/right_s3_interface.rb', line 1200
def parse(response)
@result = response
end
|