Class: Aliyun::OSS::BucketReferer
- Inherits:
-
Common::Struct::Base
- Object
- Common::Struct::Base
- Aliyun::OSS::BucketReferer
- 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
Methods included from Common::Struct::Base::AttrHelper
Constructor Details
This class inherits a constructor from Aliyun::Common::Struct::Base
Instance Method Details
#allow_empty? ⇒ Boolean
124 125 126 |
# File 'lib/aliyun/oss/struct.rb', line 124 def allow_empty? allow_empty == true end |