Class: AWS::S3::Bucket::Response
- Inherits:
-
AWS::S3::Base::Response
- Object
- String
- AWS::S3::Base::Response
- AWS::S3::Bucket::Response
- Defined in:
- lib/aws/s3/response.rb
Instance Attribute Summary
Attributes inherited from AWS::S3::Base::Response
Instance Method Summary collapse
Methods inherited from AWS::S3::Base::Response
#[], #code, #each, #error, #error?, #headers, #initialize, #inspect
Constructor Details
This class inherits a constructor from AWS::S3::Base::Response
Instance Method Details
#bucket ⇒ Object
67 68 69 70 71 72 73 74 75 |
# File 'lib/aws/s3/response.rb', line 67 def bucket if ! parsed['list_bucket_response'].nil? return parsed['list_bucket_response'] elsif ! parsed['list_bucket_result'].nil? return parsed['list_bucket_result'] else return parsed end end |