Class: Aliyun::OSS::OSSObject::Value
- Defined in:
- lib/aliyun/oss/object.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ Value
constructor
A new instance of Value.
Methods inherited from String
#previous, #previous!, #remove_extended, #remove_extended!, #tap, #to_header, #underscore, #valid_utf8?
Constructor Details
#initialize(response) ⇒ Value
Returns a new instance of Value.
319 320 321 322 |
# File 'lib/aliyun/oss/object.rb', line 319 def initialize(response) super(response.body) @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
318 319 320 |
# File 'lib/aliyun/oss/object.rb', line 318 def response @response end |