aws-s3 icon indicating copy to clipboard operation
aws-s3 copied to clipboard

Problem getting data from S3 (No method value)

Open levinmr opened this issue 11 years ago • 0 comments

Here's some snippets from my rails console. It's telling me that there's no method 'value' for S3Object:

irb(main):016:0> obj => AWS::S3::S3Object:Time-slips/uploads/timeslipex.docx

irb(main):023:0> obj.exists? => true

irb(main):024:0> obj.value NoMethodError: undefined method `value' for AWS::S3::S3Object:Time-slips/uploads/timeslipex.docx:AWS::S3::S3Object

Is there some other way I can get my data from S3 without a value method?

levinmr avatar Oct 30 '13 14:10 levinmr