Class: Aliyun::OSS::BucketReferer

Inherits:
Common::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 Common::Struct::Base

#initialize, #to_s

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

#attrs

Constructor Details

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

Instance Method Details

#allow_empty?Boolean

Returns:

  • (Boolean)


124
125
126
# File 'lib/aliyun/oss/struct.rb', line 124

def allow_empty?
  allow_empty == true
end