Problem getting data from S3 (No method value)
Opened this issue · 0 comments
levinmr commented
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?