⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (326 Bytes)
Bug #10019
» BucketTest.rb
wkwood (Will Wood)
, 07/09/2014 02:38 PM
require
'rubygems'
require
'aws-sdk'
AWS
.
config
({
:access_key_id
=>
ENV
[
'aws-key'
],
:secret_access_key
=>
ENV
[
'aws-secret-key'
})
s3
=
AWS
::
S3
.
new
(
{
:region
=>
'us-east-1'
})
bucket
=
s3
.
buckets
[
ENV
[
'bucketName'
]]
bucket
.
objects
.
each
do
|
ob
|
puts
ob
.
key
+
','
+
ob
.
last_modified
.
to_date
.
to_s
end
« Previous
1
2
3
Next »
(2-2/3)
Loading...