class AmazonS3::CORSRuleStruct

Included Modules

Defined in:

clients/s3.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module AWSSdk::RestXML::Structure

process(request : HTTP::Request) process, serialize(xml : XML::Builder) serialize

Constructor Detail

def self.new(allowed_methods : Array(String), allowed_origins : Array(String), allowed_headers : Array(String) = nil, expose_headers : Array(String) = nil, max_age_seconds : Int32 = nil) #

[View source]

Class Method Detail

def self.deserialize(xml : XML::Node) #

[View source]
def self.from_response(request : HTTP::Client::Response) #

[View source]

Instance Method Detail

def allowed_headers : Array(String) | Nil #

[View source]
def allowed_headers=(allowed_headers : Array(String) | Nil) #

[View source]
def allowed_methods : Array(String) #

[View source]
def allowed_methods=(allowed_methods : Array(String)) #

[View source]
def allowed_origins : Array(String) #

[View source]
def allowed_origins=(allowed_origins : Array(String)) #

[View source]
def expose_headers : Array(String) | Nil #

[View source]
def expose_headers=(expose_headers : Array(String) | Nil) #

[View source]
def max_age_seconds : Int32 | Nil #

[View source]
def max_age_seconds=(max_age_seconds : Int32 | Nil) #

[View source]