class Chef::Knife::GoiardiGelShow
Public Instance Methods
run()
click to toggle source
# File lib/chef/knife/goiardi_gel_show.rb, line 15 def run @rest = Chef::REST.new(Chef::Config[:chef_server_url]) gel_id = name_args[0] if gel_id.nil? show_usage exit 1 end gel = @rest.get("events/#{gel_id}", false, {}) gel = format_event(gel) output(gel) end