Method: CarrierWave::Storage::Fog::File#content_type=
- Defined in:
- lib/carrierwave/storage/fog.rb
#content_type=(new_content_type) ⇒ Object
Set non-default content-type header (default is file.content_type)
Returns
- String
-
returns new content type value
246 247 248 |
# File 'lib/carrierwave/storage/fog.rb', line 246 def content_type=(new_content_type) @content_type = new_content_type end |