Sha256: 919b020c9f4f31e9c2ee2cbef6e4fbffa7d952b234468ef64aa8f56b46b44a83
Contents?: true
Size: 485 Bytes
Versions: 22
Compression:
Stored size: 485 Bytes
Contents
module Fog module OpenStack class NFV 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
22 entries across 22 versions & 3 rubygems