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

Warn that Fog::CDN::AWS is deprecated

This commit is contained in:
Jared Beck 2018-09-06 19:31:33 -04:00
parent 6b7a468d18
commit d8d867e88f

View file

@ -200,7 +200,17 @@ EOF
end
end
end
end
# @deprecated
Fog::CDN::AWS = Fog::AWS::CDN
# @deprecated
module CDN
# @deprecated
class AWS < Fog::AWS::CDN
# @deprecated
# @overrides Fog::Service.new (from the fog-core gem)
def self.new(*)
Fog::Logger.deprecation 'Fog::CDN::AWS is deprecated, please use Fog::AWS::CDN.'
super
end
end
end
end