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.22.1 lib/awspec/helper/finder/s3.rb
awspec-0.22.0 lib/awspec/helper/finder/s3.rb
awspec-0.21.6 lib/awspec/helper/finder/s3.rb
awspec-0.21.5 lib/awspec/helper/finder/s3.rb
awspec-0.21.4 lib/awspec/helper/finder/s3.rb
awspec-0.21.3 lib/awspec/helper/finder/s3.rb
awspec-0.21.2 lib/awspec/helper/finder/s3.rb
awspec-0.21.1 lib/awspec/helper/finder/s3.rb
awspec-0.21.0 lib/awspec/helper/finder/s3.rb
awspec-0.20.2 lib/awspec/helper/finder/s3.rb
awspec-0.20.1 lib/awspec/helper/finder/s3.rb
awspec-0.20.0 lib/awspec/helper/finder/s3.rb
awspec-0.19.0 lib/awspec/helper/finder/s3.rb
awspec-0.18.2 lib/awspec/helper/finder/s3.rb
awspec-0.18.1 lib/awspec/helper/finder/s3.rb
awspec-0.18.0 lib/awspec/helper/finder/s3.rb
awspec-0.17.1 lib/awspec/helper/finder/s3.rb
awspec-0.17.0 lib/awspec/helper/finder/s3.rb
awspec-0.16.0 lib/awspec/helper/finder/s3.rb
awspec-0.15.0 lib/awspec/helper/finder/s3.rb