Class: Aliyun::OSS::BucketWebsite
- Inherits:
-
Struct::Base
- Object
- Struct::Base
- Aliyun::OSS::BucketWebsite
- Defined in:
- lib/aliyun/oss/struct.rb
Overview
Bucket website setting. See: OSS Website hosting Attributes:
-
enable [Boolean] whether to enable website hosting for the bucket
-
index [String] the index object as the index page for the website
-
error [String] the error object as the error page for the website
Instance Method Summary collapse
Methods inherited from Struct::Base
Methods included from Struct::Base::AttrHelper
Constructor Details
This class inherits a constructor from Aliyun::OSS::Struct::Base
Instance Method Details
#enabled? ⇒ Boolean
131 132 133 |
# File 'lib/aliyun/oss/struct.rb', line 131 def enabled? enable == true end |