Sha256: 7b47e0be93d412a1a30b6a0bac056dd2f86980f00ef0e0aab603d1385f4ea9aa
Contents?: true
Size: 282 Bytes
Versions: 5
Compression:
Stored size: 282 Bytes
Contents
WebAdminApp.get '/commands' do get_menu 2 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
5 entries across 5 versions & 1 rubygems