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

Deprecating methods in models

This commit is contained in:
Paulo Henrique Lopes Ribeiro 2014-12-22 00:08:44 -02:00
parent aeeb09e89e
commit 8e3b2b7e87
2 changed files with 6 additions and 0 deletions

View file

@ -24,6 +24,9 @@ module Fog
attribute :blobs
def refresh
Fog::Logger.deprecation(
'This method is deprecated. Use #reload instead.'
)
data = service.get_record( reference, 'network' )
merge_attributes( data )
true

View file

@ -124,6 +124,9 @@ module Fog
end
def refresh
Fog::Logger.deprecation(
'This method is deprecated. Use #reload instead.'
)
data = service.get_record( reference, 'VM' )
merge_attributes( data )
true