Sha256: 790dc66ea796bb0ee53df662ec597e0b08dfd28665d9038c6d34bb8ae2f2db23
Contents?: true
Size: 619 Bytes
Versions: 83
Compression:
Stored size: 619 Bytes
Contents
module Fog module Compute class OpenStack class Real def associate_address(server_id, ip_address) body = { "addFloatingIp" => {"address" => ip_address}} server_action(server_id, body) end end class Mock def associate_address(server_id, ip_address) response = Excon::Response.new response.status = 202 response.headers = { "Content-Type" => "text/html, charset=UTF-8", "Content-Length" => "0", "Date"=> Date.new } response end end end end end
Version data entries
83 entries across 83 versions & 13 rubygems