samedi 24 janvier 2015

Rails AWS SDK undefined method url_for

I am using the AWS S3 SDK to read a file from my bucket.


I have the following code (taken from an example)


object = Aws::S3::Object.new(bucket, filename)


When I try object.url_for(:read) I get the above error even thought object is an Aws::S3::Object.





Aucun commentaire:

Enregistrer un commentaire