Sha256: 0444f01187cfa306b9a0b3ac4fe2429fc1d2337124568e684cf6a892d9f67fb5

Contents?: true

Size: 309 Bytes

Versions: 29

Compression:

Stored size: 309 Bytes

Contents

class Google < Fog::Bin
  class << self

    def [](service)
      @@connections ||= Hash.new do |hash, key|
        hash[key] = case key
        when :storage
          Fog::Google::Storage.new
        end
      end
      @@connections[service]
    end

    def services
      [:storage]
    end

  end

end

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
fog-0.3.29 lib/fog/google/bin.rb
fog-0.3.28 lib/fog/google/bin.rb
fog-0.3.27 lib/fog/google/bin.rb
fog-0.3.26 lib/fog/google/bin.rb
fog-0.3.25 lib/fog/google/bin.rb
fog-0.3.24 lib/fog/google/bin.rb
bbcloud-0.8.1 lib/bbcloud/vendor/fog-0.3.23/lib/fog/google/bin.rb
fog-0.3.23 lib/fog/google/bin.rb
fog-0.3.22 lib/fog/google/bin.rb
fog-0.3.21 lib/fog/google/bin.rb
fog-0.3.20 lib/fog/google/bin.rb
fog-0.3.19 lib/fog/google/bin.rb
fog-0.3.18 lib/fog/google/bin.rb
fog-0.3.17 lib/fog/google/bin.rb
fog-0.3.16 lib/fog/google/bin.rb
fog-0.3.15 lib/fog/google/bin.rb
fog-0.3.14 lib/fog/google/bin.rb
fog-0.3.13 lib/fog/google/bin.rb
fog-0.3.12 lib/fog/google/bin.rb
fog-0.3.11 lib/fog/google/bin.rb