Class: Aliyun::OSS::OSSObject::Value

Inherits:
String show all
Defined in:
lib/aliyun/oss/object.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#responseObject (readonly)

Returns the value of attribute response.



318
319
320
# File 'lib/aliyun/oss/object.rb', line 318

def response
  @response
end