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