Module: S3lite::S3
- Included in:
- Base
- Defined in:
- lib/s3lite/s3.rb
Instance Method Summary collapse
Instance Method Details
#s3_get(path) ⇒ Object
2 3 4 |
# File 'lib/s3lite/s3.rb', line 2 def s3_get(path) s3_resource_object(path).get end |
#s3_list(bucket) ⇒ Object
6 7 8 |
# File 'lib/s3lite/s3.rb', line 6 def s3_list(bucket) s3_resource.bucket(bucket) end |
#s3_put(path:, body:) ⇒ Object
10 11 12 |
# File 'lib/s3lite/s3.rb', line 10 def s3_put(path:, body:) s3_resource_object(path).put(body: body) end |