Sha256: 3e6076e8366bd818cf991d23d077b5c80444f928a38d77166dc9ca3d96eab739
Contents?: true
Size: 452 Bytes
Versions: 20
Compression:
Stored size: 452 Bytes
Contents
module Fog module OpenStack class Compute class Real def add_security_group(server_id, group_name) body = {'addSecurityGroup' => {"name" => group_name}} server_action(server_id, body) end end class Mock def add_security_group(_server_id, _group_name) response = Excon::Response.new response.status = 200 response end end end end end
Version data entries
20 entries across 20 versions & 3 rubygems