Class: AliyunSDK::OSS::BucketReferer

Inherits:
Common::Struct::Base show all
Defined in:
lib/aliyun_sdk/oss/struct.rb

Overview

Bucket referer setting. See: OSS Website hosting Attributes:

  • allow_empty [Boolean] whether to allow requests with empty “Referer”

  • whitelist [Array<String>] the allowed origins for requests

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

#allow_empty?Boolean

Returns:

  • (Boolean)


99
100
101
# File 'lib/aliyun_sdk/oss/struct.rb', line 99

def allow_empty?
  allow_empty == true
end