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

[clodo|compute] Rename moveip to move_ip_address.

This commit is contained in:
Stepan G. Fedorov 2011-11-28 00:03:52 +04:00
parent 790454bf54
commit 299e1f7960

View file

@ -12,7 +12,7 @@ module Fog
# * response<~Excon::Response>
#
def move_ip(server_id, ip)
def move_ip_address(server_id, ip)
request(
:expects => [200, 203],
:method => 'GET',
@ -22,9 +22,9 @@ module Fog
end
class Mock
def move_ip(server_id, ip)
def move_ip_address(server_id, ip)
response = Excon::Response.new
response.status = [200, 203][rand(1)]
response.status = [204]
response
end
end