Module: AliyunSDK::OSS::KeyEncoding

Defined in:
lib/aliyun_sdk/oss/struct.rb

Overview

Note:

url-encoding is the only supported KeyEncoding type

The object key may contains unicode charactors which cannot be encoded in the request/response body(XML). KeyEncoding specifies the encoding type for the object key.

  • url: the object key is url-encoded

Constant Summary collapse

URL =
"url"
@@all =
[URL]

Class Method Summary collapse

Class Method Details

.allObject



53
54
55
# File 'lib/aliyun_sdk/oss/struct.rb', line 53

def self.all
  @@all
end

.include?(enc) ⇒ Boolean

Returns:

  • (Boolean)


49
50
51
# File 'lib/aliyun_sdk/oss/struct.rb', line 49

def self.include?(enc)
  all.include?(enc)
end