1

I'm able to upload files to my google storage bucket with Paperclip and fog-google.

How can I set file headers ? I am searching for an equivalent to s3_headers option in fog-aws.

I have tried google_headers and fog_headers options with no success.

slaur4
  • 494
  • 3
  • 11

1 Answers1

3

Here we go :

fog_file: {
   cache_control: 'max-age=86400'
}
slaur4
  • 494
  • 3
  • 11