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