Sha256: 808f7127f2a262fb8367677b90719cccf77f3b3b67655d8d9b5479ad58a143ad
Contents?: true
Size: 477 Bytes
Versions: 21
Compression:
Stored size: 477 Bytes
Contents
module Fog module OpenStack class NFV class Real def get_vnf(vnf_id) request( :expects => 200, :method => 'GET', :path => "vnfs/#{vnf_id}" ) end end class Mock def get_vnf(_vnf_id) response = Excon::Response.new response.status = 200 response.body = {"vnf" => data[:vnfs].first} response end end end end end
Version data entries
21 entries across 21 versions & 3 rubygems