Class: Aliyun::OSS::CORSRule

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

Overview

CORS rule for bucket. See: OSS CORS Attributes:

  • allowed_origins [Array] the allowed origins
  • allowed_methods [Array] the allowed methods
  • allowed_headers [Array] the allowed headers
  • expose_headers [Array] the expose headers
  • max_age_seconds [Integer] the max age seconds

Method Summary

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