Class: Aliyun::OSS::OSSObject::About
- Inherits:
-
Hash
show all
- Defined in:
- lib/aliyun/oss/object.rb
Overview
Instance Method Summary
collapse
Methods inherited from Hash
#extractable_options?, #to_normalized_options, #to_normalized_options!, #to_query_string
Constructor Details
#initialize(headers) ⇒ About
Returns a new instance of About.
326
327
328
329
330
|
# File 'lib/aliyun/oss/object.rb', line 326
def initialize()
super()
replace()
metadata
end
|
Instance Method Details
#[](header) ⇒ Object
332
333
334
|
# File 'lib/aliyun/oss/object.rb', line 332
def []()
super(.)
end
|
#[]=(header, value) ⇒ Object
336
337
338
|
# File 'lib/aliyun/oss/object.rb', line 336
def []=(, value)
super(., value)
end
|
344
345
346
|
# File 'lib/aliyun/oss/object.rb', line 344
def metadata
Metadata.new(self)
end
|
340
341
342
|
# File 'lib/aliyun/oss/object.rb', line 340
def
self.merge(metadata.)
end
|