Sha256: c2cbc1117bc5b7bb499a4cb638eba4bceb22029379efd00afe4c0b5d9c731007
Contents?: true
Size: 532 Bytes
Versions: 4
Compression:
Stored size: 532 Bytes
Contents
module Fog module Compute class HuaweiCloud class Real def list_os_interfaces(server_id) request( :expects => [200, 203], :method => 'GET', :path => "servers/#{server_id}/os-interface" ) end end class Mock def list_os_interfaces(server_id) Excon::Response.new( :body => {'interfaceAttachments' => data[:os_interfaces]}, :status => 200 ) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems