Class: Brightbox

Inherits:
Fog::Bin show all
Defined in:
lib/fog/brightbox/bin.rb

Class Method Summary collapse

Methods inherited from Fog::Bin

available?, collections

Class Method Details

.[](service) ⇒ Object



4
5
6
7
8
9
10
11
12
# File 'lib/fog/brightbox/bin.rb', line 4

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

.accountObject



18
19
20
# File 'lib/fog/brightbox/bin.rb', line 18

def 
  @@connections[:compute].
end

.servicesObject



14
15
16
# File 'lib/fog/brightbox/bin.rb', line 14

def services
  [:compute]
end