Add resource_id method to project client

This commit is contained in:
Chris Roberts 2021-11-17 14:50:04 -08:00 committed by Paul Hinze
parent b8ed8a495f
commit b327dbe7d8
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0

View File

@ -64,6 +64,11 @@ module VagrantPlugins
Host.load(h, broker: broker)
end
# @return [String] resource identifier for this target
def resource_id
client.resource_id(Empty.new).resource_id
end
# return [<String>]
def target_names
resp = client.target_names(Empty.new)