Sha256: fa377069aff1b9063c9e8440b427b5e88a4f92b0ed8fc47da226d494989db856
Contents?: true
Size: 1.56 KB
Versions: 42
Compression:
Stored size: 1.56 KB
Contents
xml.instruct! xml.declare! :DOCTYPE, :html, :PUBLIC, "-//W3C//DTD XHTML 1.0 Strict//EN", "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" xml.html( "xmlns" => "http://www.w3.org/1999/xhtml" ) { xml.head { xml.title "Available Services" xml.style( "type"=>"text/css" ,"media" => "all" ) { xml.text! " body{font-family:Calibri,Arial;background-color:#fefefe;} .pre{font-family:Courier;} .normal{font-family:Calibri,Arial;} .bold{font-weight:bold;} h1,h2,h3{font-family:Verdana,Times;} h1{border-bottom:1px solid gray;} h2{border-bottom:1px solid silver;} h3{border-bottom:1px dashed silver;} a{text-decoration:none;} a:hover{text-decoration:underline;} .blue{color:#3400FF;} .lightBlue{color:#5491AF;} " } xml.style( "type"=>"text/css", "media" => "print" ) { xml.text! " .noprint{display:none;} " } } xml.body { unless @services.blank? @services.each do |service| xml.h1 "#{service['service_name']} Soap Webservice" xml.p {|pre| pre << "Documentation URI: <a href='#{service['documentation_url']}'>#{service['documentation_url']}</a>" } xml.p {|pre| pre << "Endpoint URI: <a href='javascript:void(0)'>#{service['endpoint']}</a>" } xml.p {|pre| pre << "WSDL URI: <a href='#{service['namespace']}'>#{service['namespace']}</a>" } end end if @services.blank? xml.h1 "Available Services" xml.p "There are no services yet added. Please add the routes for your services and try again!" end } }
Version data entries
42 entries across 42 versions & 1 rubygems