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

ensure that each service requires its provider

This commit is contained in:
Lance Ivy 2014-02-01 13:07:49 -05:00
parent 26c6766b09
commit c27901dc8c
9 changed files with 18 additions and 7 deletions

View file

@ -1,3 +1,5 @@
require 'fog/aws'
module Fog
module AWS
class Elasticache < Fog::Service

View file

@ -1,3 +1,5 @@
require 'fog/clodo'
module Fog
module Compute
class Clodo < Fog::Service

View file

@ -1,3 +1,5 @@
require 'fog/glesys'
module Fog
module Compute
class Glesys < Fog::Service
@ -80,7 +82,7 @@ module Fog
@connection = Fog::Connection.new(@api_url, @persistent, @connection_options)
end
def request(method_name, options = {})
def request(method_name, options = {})
options.merge!( {:format => 'json'})
@ -112,9 +114,9 @@ module Fog
Fog::Compute::Glesys::NotFound.slurp(error)
else
error
end
end
end
end
end
end
private

View file

@ -1,3 +1,4 @@
require 'fog/openstack'
require 'fog/aws/cloud_formation'
module Fog

View file

@ -1,3 +1,5 @@
require 'fog/ovirt'
module Fog
module Compute
class Ovirt < Fog::Service

View file

@ -31,4 +31,4 @@ module Fog
end
end
end
end
end

View file

@ -2,8 +2,7 @@
# https://github.com/racker/rackspace-monitoring-rb
# It has been heavily modified for import into Fog master.
require 'fog'
require 'fog/core'
require 'fog/rackspace'
module Fog
module Rackspace

View file

@ -1,3 +1,5 @@
require 'fog/serverlove'
module Fog
module Compute
class Serverlove < Fog::Service

View file

@ -1,3 +1,4 @@
require 'fog/vsphere'
require 'digest/sha2'
module Fog