Sha256: 2f237616aed1936b83abecb5d6a2586da1a55f6efb6639897d75d48a38f15cb6
Contents?: true
Size: 1.74 KB
Versions: 13
Compression:
Stored size: 1.74 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_carrier_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 55</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_carrier_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">getCarrierNames</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">res</span>.<span class="ruby-identifier">carrierNames</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">:string</span> <span class="ruby-identifier">res</span>.<span class="ruby-identifier">carrierNames</span>.<span class="ruby-identifier">string</span> <span class="ruby-keyword kw">else</span> <span class="ruby-keyword kw">nil</span> <span class="ruby-keyword kw">end</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