Sha256: c44aab0e92f4e8b4a7ec9f0d84b512d152c04af5ff32e70b4036b15cd80d749e

Contents?: true

Size: 439 Bytes

Versions: 4

Compression:

Stored size: 439 Bytes

Contents

module Fog
  module NFV
    class HuaweiCloud
      class Real
        def delete_vnfd(vnfd_id)
          request(
            :expects => 204,
            :method  => "DELETE",
            :path    => "vnfds/#{vnfd_id}"
          )
        end
      end

      class Mock
        def delete_vnfd(_vnfd_id)
          response = Excon::Response.new
          response.status = 204
          response
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fog-huaweicloud-0.0.3 lib/fog/nfv/huaweicloud/requests/delete_vnfd.rb
fog-huaweicloud-0.0.2 lib/fog/nfv/huaweicloud/requests/delete_vnfd.rb
fog-huaweicloud-0.1.3 lib/fog/nfv/huaweicloud/requests/delete_vnfd.rb
fog-huaweicloud-0.1.2 lib/fog/nfv/huaweicloud/requests/delete_vnfd.rb