Class: Aliyun::Oss::Struct::Website
- Defined in:
- lib/aliyun/oss/struct/website.rb
Instance Attribute Summary collapse
-
#error_key ⇒ Object
The object key name to use when a 4XX class error occurs.
-
#suffix ⇒ Object
A suffix that is appended to a request that is for a directory on the website endpoint (e.g. if the suffix is index.html and you make a request to samplebucket/images/ the data that is returned will be for the object with the key name images/index.html) The suffix must not be empty and must not include a slash character.
Method Summary
Methods inherited from Base
Constructor Details
This class inherits a constructor from Aliyun::Oss::Struct::Base
Instance Attribute Details
#error_key ⇒ Object
The object key name to use when a 4XX class error occurs
9 10 11 |
# File 'lib/aliyun/oss/struct/website.rb', line 9 def error_key @error_key end |
#suffix ⇒ Object
A suffix that is appended to a request that is for a directory on the website endpoint (e.g. if the suffix is index.html and you make a request to samplebucket/images/ the data that is returned will be for the object with the key name images/index.html) The suffix must not be empty and must not include a slash character.
6 7 8 |
# File 'lib/aliyun/oss/struct/website.rb', line 6 def suffix @suffix end |