Sha256: 7e07ea85a27fa15cc5b466ba000664e4dd39db5360dcdc2d3842904359789ca8

Contents?: true

Size: 285 Bytes

Versions: 3

Compression:

Stored size: 285 Bytes

Contents

WebAdminApp.get '/sequences' do
  get_menu 3
  url = "http://#{get_config.webadmin_ip}:#{get_config.webadmin_port}/api/sequences/list.yml"
  raw = RestClient::Request.execute(method: 'GET', url: url,timeout: 10)
  @data = YAML::load(raw)[:data]
  slim :sequences, :format => :html
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
prometheus-splash-0.8.1 lib/splash/webadmin/portal/controllers/sequences.rb
prometheus-splash-0.8.0 lib/splash/webadmin/portal/controllers/sequences.rb
prometheus-splash-0.7.0 lib/splash/webadmin/portal/controllers/sequences.rb