1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

fix test helpers

This commit is contained in:
geemus 2010-09-23 10:48:52 -07:00
parent 283a757a86
commit a4b4e1ffd9
11 changed files with 15 additions and 163 deletions

View file

@ -1,17 +1,4 @@
module Bluebox
def self.[](service)
@@connections ||= Hash.new do |hash, key|
credentials = Fog.credentials.reject do |k,v|
![:bluebox_api_key, :bluebox_customer_id].include?(k)
end
hash[key] = case key
when :compute
Fog::Bluebox::Compute.new(credentials)
end
end
@@connections[service]
end
class Bluebox
module Compute