Class: AliyunSDK::OSS::BucketWebsite

Inherits:
Common::Struct::Base show all
Defined in:
lib/aliyun_sdk/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 Common::Struct::Base

#initialize, #to_s

Methods included from Common::Struct::Base::AttrHelper

#attrs

Constructor Details

This class inherits a constructor from AliyunSDK::Common::Struct::Base

Instance Method Details

#enabled?Boolean

Returns:

  • (Boolean)


86
87
88
# File 'lib/aliyun_sdk/oss/struct.rb', line 86

def enabled?
  enable == true
end