Sha256: d217eac0fa7cd5ff9e0cfe272f5f51b0c48450230e3d0d9c29b7ef1c8ef070f0

Contents?: true

Size: 370 Bytes

Versions: 7

Compression:

Stored size: 370 Bytes

Contents

WebAdminApp.get '/sequences' do
  get_menu 3
  log = get_logger
  log.call "WEB : sequences, verb : GET, controller : /sequences"
  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

7 entries across 7 versions & 1 rubygems

Version Path
prometheus-splash-0.9.1 lib/splash/webadmin/portal/controllers/sequences.rb
prometheus-splash-0.9.0 lib/splash/webadmin/portal/controllers/sequences.rb
prometheus-splash-0.8.6 lib/splash/webadmin/portal/controllers/sequences.rb
prometheus-splash-0.8.5 lib/splash/webadmin/portal/controllers/sequences.rb
prometheus-splash-0.8.4 lib/splash/webadmin/portal/controllers/sequences.rb
prometheus-splash-0.8.3 lib/splash/webadmin/portal/controllers/sequences.rb
prometheus-splash-0.8.2 lib/splash/webadmin/portal/controllers/sequences.rb