Sha256: 99ab91d4b49a4598d97d5e8e5aa7b5d6b68ab87137bb2efc7d6590b1a35cdc43
Contents?: true
Size: 487 Bytes
Versions: 4
Compression:
Stored size: 487 Bytes
Contents
module Fog module NFV class HuaweiCloud class Real def get_vnfd(vnfd_id) request( :expects => 200, :method => 'GET', :path => "vnfds/#{vnfd_id}" ) end end class Mock def get_vnfd(_vnfd_id) response = Excon::Response.new response.status = 200 response.body = {"vnfd" => data[:vnfds].first} response end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems