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:
parent
6b7a468d18
commit
d8d867e88f
1 changed files with 13 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue