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

Move more requires to autoload

This commit is contained in:
Paulo Henrique Lopes Ribeiro 2015-04-10 09:40:48 -03:00
parent 276bac5664
commit a26b1ad26b

View file

@ -3,9 +3,6 @@ require 'fog/xml'
require 'fog/json' require 'fog/json'
require File.expand_path('../aws/version', __FILE__) require File.expand_path('../aws/version', __FILE__)
require File.expand_path('../aws/credential_fetcher', __FILE__)
require File.expand_path('../aws/region_methods', __FILE__)
require File.expand_path('../aws/signaturev4', __FILE__)
module Fog module Fog
module CDN module CDN
@ -27,8 +24,11 @@ module Fog
module AWS module AWS
extend Fog::Provider extend Fog::Provider
autoload :Mock, File.expand_path('../aws/mock', __FILE__) autoload :CredentialFetcher, File.expand_path('../aws/credential_fetcher', __FILE__)
autoload :Errors, File.expand_path('../aws/errors', __FILE__) autoload :Errors, File.expand_path('../aws/errors', __FILE__)
autoload :Mock, File.expand_path('../aws/mock', __FILE__)
autoload :RegionMethods, File.expand_path('../aws/region_methods', __FILE__)
autoload :SignatureV4, File.expand_path('../aws/signaturev4', __FILE__)
# Services # Services
autoload :AutoScaling, File.expand_path('../aws/auto_scaling', __FILE__) autoload :AutoScaling, File.expand_path('../aws/auto_scaling', __FILE__)