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:
parent
aeeb09e89e
commit
8e3b2b7e87
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue