Sha256: 4bcedfb29a7749d1bd5413339678c736489a95cc5c5a227bb951f64a2ed19199
Contents?: true
Size: 1.42 KB
Versions: 16
Compression:
Stored size: 1.42 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]}'><span class='pre'>#{service[:documentation_url]}</span></a>" } xml.p {|pre| pre << "Endpoint URI: <span class='pre'>#{service[:endpoint]}</span>" } xml.p {|pre| pre << "WSDL URI: <a href='#{service[:namespace]}'><span class='pre'>#{service[:namespace]}</span></a>" } end end } }
Version data entries
16 entries across 16 versions & 1 rubygems