Sha256: 6d9031da443f9e293e89881781e40f41fca98ad9d17526aeb049e996676898eb

Contents?: true

Size: 249 Bytes

Versions: 46

Compression:

Stored size: 249 Bytes

Contents

module Awspec::Helper
  module Finder
    module S3
      def find_bucket(id)
        res = @s3_client.list_buckets
        ret = @s3_client.list_buckets[:buckets].find do |bucket|
          bucket.name == id
        end
      end
    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
awspec-0.4.0 lib/awspec/helper/finder/s3.rb
awspec-0.3.0 lib/awspec/helper/finder/s3.rb
awspec-0.2.3 lib/awspec/helper/finder/s3.rb
awspec-0.2.2 lib/awspec/helper/finder/s3.rb
awspec-0.2.1 lib/awspec/helper/finder/s3.rb
awspec-0.2.0 lib/awspec/helper/finder/s3.rb