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

Add ip_address method back, but deprecate it.

This commit is contained in:
Trae Robrock 2013-07-29 10:10:25 -07:00
parent cc483e1bba
commit dbdf1e1f24

View file

@ -21,6 +21,12 @@ module Fog
attr_writer :ssh_keys
# Deprecated: Use public_ip_address instead.
def ip_address
Fog::Logger.warning("ip_address has been deprecated. Use public_ip_address instead")
public_ip_address
end
# Reboot the server (soft reboot).
#
# The preferred method of rebooting a server.