Class: Brightbox
Class Method Summary collapse
Methods inherited from Fog::Bin
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 |
.account ⇒ Object
18 19 20 |
# File 'lib/fog/brightbox/bin.rb', line 18 def account @@connections[:compute].account end |
.services ⇒ Object
14 15 16 |
# File 'lib/fog/brightbox/bin.rb', line 14 def services [:compute] end |