Class: Aliyun::OSS::BucketReferer

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

#initialize, #to_s

Methods included from Struct::Base::AttrHelper

#attrs

Constructor Details

This class inherits a constructor from Aliyun::OSS::Struct::Base

Instance Method Details

#allow_empty?Boolean

Returns:

  • (Boolean)


144
145
146
# File 'lib/aliyun/oss/struct.rb', line 144

def allow_empty?
  allow_empty == true
end