Sha256: ba31ffa3b9d35f28bd722c5e8e36eb2a0d6da0d941e922d29c5f387549d233ac

Contents?: true

Size: 377 Bytes

Versions: 13

Compression:

Stored size: 377 Bytes

Contents

class Brightbox < Fog::Bin
  class << self

    def [](service)
      @@connections ||= Hash.new do |hash, key|
        hash[key] = case key
        when :compute
          Fog::Brightbox::Compute.new
        end
      end
      @@connections[service]
    end

    def services
      [:compute]
    end

    def account
      @@connections[:compute].account
    end

  end
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
fog-0.3.29 lib/fog/brightbox/bin.rb
fog-0.3.28 lib/fog/brightbox/bin.rb
fog-0.3.27 lib/fog/brightbox/bin.rb
fog-0.3.26 lib/fog/brightbox/bin.rb
fog-0.3.25 lib/fog/brightbox/bin.rb
fog-0.3.24 lib/fog/brightbox/bin.rb
bbcloud-0.8.1 lib/bbcloud/vendor/fog-0.3.23/lib/fog/brightbox/bin.rb
fog-0.3.23 lib/fog/brightbox/bin.rb
fog-0.3.22 lib/fog/brightbox/bin.rb
fog-0.3.21 lib/fog/brightbox/bin.rb
fog-0.3.20 lib/fog/brightbox/bin.rb
fog-0.3.19 lib/fog/brightbox/bin.rb
fog-0.3.18 lib/fog/brightbox/bin.rb