Class: AWS::S3::Service::Response
- Inherits:
-
Base::Response
- Object
- String
- Base::Response
- AWS::S3::Service::Response
- Defined in:
- lib/aws-matt/s3/response.rb
Instance Attribute Summary
Attributes inherited from Base::Response
Instance Method Summary collapse
Methods inherited from Base::Response
#[], #code, #each, #error, #error?, #headers, #initialize, #inspect
Constructor Details
This class inherits a constructor from AWS::S3::Base::Response
Instance Method Details
#buckets ⇒ Object
87 88 89 |
# File 'lib/aws-matt/s3/response.rb', line 87 def buckets parsed['buckets']['bucket'] || [] end |
#empty? ⇒ Boolean
83 84 85 |
# File 'lib/aws-matt/s3/response.rb', line 83 def empty? parsed['buckets'].nil? end |