Sha256: 86ca3a71ed30b38d3c6492c8eadfc4f5daf2b3ebeec44abc5a6f2f7efbeedb52
Contents?: true
Size: 1.49 KB
Versions: 13
Compression:
Stored size: 1.49 KB
Contents
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>get_country_names (Messaging)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> <pre><span class="ruby-comment cmt"># File webservices/soap/messaging.rb, line 33</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_country_names</span> <span class="ruby-keyword kw">begin</span> <span class="ruby-identifier">res</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">driver</span>.<span class="ruby-identifier">getCountryNames</span> <span class="ruby-keyword kw">true</span> <span class="ruby-comment cmt">#not sure if we need to pass it true...</span> <span class="ruby-identifier">res</span>.<span class="ruby-identifier">countryNames</span>.<span class="ruby-identifier">string</span> <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">FaultError</span> <span class="ruby-keyword kw">false</span> <span class="ruby-keyword kw">end</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
13 entries across 13 versions & 1 rubygems