Class: Shrine::Storage::S3::Tempfile

Inherits:
Tempfile
  • Object
show all
Defined in:
lib/shrine/storage/s3.rb

Overview

Tempfile with #content_type accessor which represents downloaded files.

Instance Attribute Summary collapse

Instance Attribute Details

#content_typeObject

Returns the value of attribute content_type.



386
387
388
# File 'lib/shrine/storage/s3.rb', line 386

def content_type
  @content_type
end