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:
parent
283a757a86
commit
a4b4e1ffd9
11 changed files with 15 additions and 163 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue