Class: Aliyun::OSS::Service::Response
- Inherits:
-
Base::Response
- Object
- String
- Base::Response
- Aliyun::OSS::Service::Response
- Defined in:
- lib/aliyun/oss/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
Methods inherited from String
#previous, #previous!, #remove_extended, #remove_extended!, #tap, #to_header, #underscore, #valid_utf8?
Constructor Details
This class inherits a constructor from Aliyun::OSS::Base::Response
Instance Method Details
#buckets ⇒ Object
88 89 90 |
# File 'lib/aliyun/oss/response.rb', line 88 def buckets parsed['buckets']['bucket'] || [] end |
#empty? ⇒ Boolean
84 85 86 |
# File 'lib/aliyun/oss/response.rb', line 84 def empty? parsed['buckets'].nil? end |