class Scalr::Services::S3::Object

Defined in:

scalr/services/s3.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(config : Scalr::Config::S3, bucket : String, key : String, clients : Pool(Awscr::S3::Client), header_cache : Cache::MemoryStore(String, HTTP::Headers)) #

[View source]

Instance Method Detail

def blob : Bytes #

[View source]
def exists? : Bool #

[View source]
def headers : HTTP::Headers #

[View source]
def modified? : Bool #

[View source]
def presigned_url(**options) #

[View source]
def read(&block : IO, HTTP::Headers -> ) : Void #

[View source]
def update_headers #

[View source]
def write(&block : IO, HTTP::Headers -> ) : Void #

[View source]