class Chef::Knife::Cloud::VraServerShow
Public Instance Methods
validate_params!()
click to toggle source
Calls superclass method
# File lib/chef/knife/vra_server_show.rb, line 41 def validate_params! if @name_args.empty? ui.error("You must supply a Resource ID for a server to display.") exit 1 end if @name_args.size > 1 ui.error("You may only supply one Resource ID.") exit 1 end super end