t2_airtime 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,221 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: T2Airtime::Test
8
+
9
+ &mdash; Documentation by YARD 0.9.9
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ pathId = "T2Airtime::Test";
19
+ relpath = '../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../_index.html">Index (T)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../T2Airtime.html" title="T2Airtime (module)">T2Airtime</a></span></span>
41
+ &raquo;
42
+ <span class="title">Test</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Class: T2Airtime::Test
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName">Object</span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next">T2Airtime::Test</li>
78
+
79
+ </ul>
80
+ <a href="#" class="inheritanceTree">show all</a>
81
+
82
+ </dd>
83
+ </dl>
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+ <dl>
96
+ <dt>Defined in:</dt>
97
+ <dd>lib/t2_airtime/test.rb</dd>
98
+ </dl>
99
+
100
+ </div>
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+ <h2>
111
+ Class Method Summary
112
+ <small><a href="#" class="summary_toggle">collapse</a></small>
113
+ </h2>
114
+
115
+ <ul class="summary">
116
+
117
+ <li class="public ">
118
+ <span class="summary_signature">
119
+
120
+ <a href="#numbers-class_method" title="numbers (class method)">.<strong>numbers</strong>(num = 0) &#x21d2; Object </a>
121
+
122
+
123
+
124
+ </span>
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+ <span class="summary_desc"><div class='inline'>
135
+ <p>A few fake phone numbers in Indonesia have been created and set up with
136
+ available products of IDR 5000, 10000, 20000, 50000 and 100000:
137
+ 628123456710: error code 0 for PIN based Top-up (successful transaction).</p>
138
+ </div></span>
139
+
140
+ </li>
141
+
142
+
143
+ </ul>
144
+
145
+
146
+
147
+
148
+ <div id="class_method_details" class="method_details_list">
149
+ <h2>Class Method Details</h2>
150
+
151
+
152
+ <div class="method_details first">
153
+ <h3 class="signature first" id="numbers-class_method">
154
+
155
+ .<strong>numbers</strong>(num = 0) &#x21d2; <tt>Object</tt>
156
+
157
+
158
+
159
+
160
+
161
+ </h3><div class="docstring">
162
+ <div class="discussion">
163
+
164
+ <p>A few fake phone numbers in Indonesia have been created and set up with
165
+ available products of IDR 5000, 10000, 20000, 50000 and 100000:</p>
166
+
167
+ <p>628123456710: error code 0 for PIN based Top-up (successful transaction).
168
+ 628123456770: error code 0 for PIN less Top-up (successful transaction).
169
+ 628123456780: error code 204 (destination number is not a valid prepaid
170
+ phone number). 628123456781: error code 301 (input value out of range or
171
+ invalid product). 628123456790: error code 214 (transaction refused by the
172
+ operator). 628123456798: error code 998 (system not available, please retry
173
+ later). 628123456799: error code 999 (unknown error, please contact
174
+ support).</p>
175
+
176
+
177
+ </div>
178
+ </div>
179
+ <div class="tags">
180
+
181
+
182
+ </div><table class="source_code">
183
+ <tr>
184
+ <td>
185
+ <pre class="lines">
186
+
187
+
188
+ 13
189
+ 14
190
+ 15
191
+ 16
192
+ 17
193
+ 18</pre>
194
+ </td>
195
+ <td>
196
+ <pre class="code"><span class="info file"># File 'lib/t2_airtime/test.rb', line 13</span>
197
+
198
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_numbers'>numbers</span><span class='lparen'>(</span><span class='id identifier rubyid_num'>num</span><span class='op'>=</span><span class='int'>0</span><span class='rparen'>)</span>
199
+ <span class='id identifier rubyid_numbers'>numbers</span> <span class='op'>=</span> <span class='lbracket'>[</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>628123456710</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>628123456770</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>628123456780</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
200
+ <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>628123456781</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>628123456790</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>628123456798</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
201
+ <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>628123456799</span><span class='tstring_end'>&quot;</span></span> <span class='rbracket'>]</span>
202
+ <span class='id identifier rubyid_num'>num</span> <span class='op'>&gt;</span> <span class='int'>0</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_num'>num</span> <span class='op'>&lt;</span> <span class='int'>8</span> <span class='op'>?</span> <span class='id identifier rubyid_numbers'>numbers</span><span class='lbracket'>[</span><span class='id identifier rubyid_num'>num</span><span class='op'>-</span><span class='int'>1</span><span class='rbracket'>]</span> <span class='op'>:</span> <span class='id identifier rubyid_numbers'>numbers</span>
203
+ <span class='kw'>end</span></pre>
204
+ </td>
205
+ </tr>
206
+ </table>
207
+ </div>
208
+
209
+ </div>
210
+
211
+ </div>
212
+
213
+ <div id="footer">
214
+ Generated on Sat Aug 26 13:20:08 2017 by
215
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
216
+ 0.9.9 (ruby-2.3.3).
217
+ </div>
218
+
219
+ </div>
220
+ </body>
221
+ </html>