module S3Tree
Constants
- VERSION
Public Class Methods
tree(bucket_name,path='')
click to toggle source
# File lib/s3_tree.rb, line 6 def self.tree(bucket_name,path='') path = URI.decode(path).gsub('+', ' ') if path.present? s3 = Aws::S3::Resource.new bucket = s3.bucket(bucket_name) S3Tree::Directory.new(bucket,path).children end