Sha256: ab7fbce5366497f3409d64d91e73a2286e4383b96ea2a3f439e9b409ec80307e
Contents?: true
Size: 365 Bytes
Versions: 3
Compression:
Stored size: 365 Bytes
Contents
WebAdminApp.get '/commands' do get_menu 2 log = get_logger log.call "WEB : commands, verb : GET, controller : /commands" url = "http://#{get_config.webadmin_ip}:#{get_config.webadmin_port}/api/commands/list.yml" raw = RestClient::Request.execute(method: 'GET', url: url,timeout: 10) @data = YAML::load(raw)[:data] slim :commands, :format => :html end
Version data entries
3 entries across 3 versions & 1 rubygems