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

Version Path
rmobio-1.1.15 lib/rmobio/doc/classes/Messaging.src/M000023.html
rmobio-1.1.14 lib/rmobio/doc/classes/Messaging.src/M000023.html
rmobio-1.1.20 lib/rmobio/doc/classes/Messaging.src/M000023.html
rmobio-1.1.16 lib/rmobio/doc/classes/Messaging.src/M000023.html
rmobio-1.1.17 lib/rmobio/doc/classes/Messaging.src/M000023.html
rmobio-1.1.26 lib/rmobio/doc/classes/Messaging.src/M000023.html
rmobio-1.1.24 lib/rmobio/doc/classes/Messaging.src/M000023.html
rmobio-1.1.27 lib/rmobio/doc/classes/Messaging.src/M000023.html
rmobio-1.1.28 lib/rmobio/doc/classes/Messaging.src/M000023.html
rmobio-1.1.29 lib/rmobio/doc/classes/Messaging.src/M000023.html
rmobio-1.1.32 lib/rmobio/doc/classes/Messaging.src/M000023.html
rmobio-1.1.5 lib/rmobio/doc/classes/Messaging.src/M000023.html
rmobio-1.1.9 lib/rmobio/doc/classes/Messaging.src/M000023.html