lib/s3/right_s3.rb in aws-2.3.5 vs lib/s3/right_s3.rb in aws-2.3.6

- old
+ new

@@ -62,9 +62,13 @@ # :multi_thread => true|false # Multi-threaded (connection per each thread): true or false(default) # :logger => Logger Object} # Logger instance: logs to STDOUT if omitted } def initialize(aws_access_key_id=nil, aws_secret_access_key=nil, params={}) @interface = S3Interface.new(aws_access_key_id, aws_secret_access_key, params) end + + def close_connection + @interface.close_connection + end # Retrieve a list of buckets. # Returns an array of Aws::S3::Bucket instances. # # Create handle to S3 account # s3 = Aws::S3.new(aws_access_key_id, aws_secret_access_key)