ez_paypal 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,678 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: EZPaypal::Response
8
+
9
+ &mdash; Documentation by YARD 0.7.5
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ relpath = '..';
19
+ if (relpath != '') relpath += '/';
20
+ </script>
21
+
22
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
25
+
26
+
27
+ </head>
28
+ <body>
29
+ <script type="text/javascript" charset="utf-8">
30
+ if (window.top.frames.main) document.body.className = 'frames';
31
+ </script>
32
+
33
+ <div id="header">
34
+ <div id="menu">
35
+
36
+ <a href="../_index.html">Index (R)</a> &raquo;
37
+ <span class='title'><span class='object_link'><a href="../EZPaypal.html" title="EZPaypal (module)">EZPaypal</a></span></span>
38
+ &raquo;
39
+ <span class="title">Response</span>
40
+
41
+
42
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
+ </div>
44
+
45
+ <div id="search">
46
+
47
+ <a id="class_list_link" href="#">Class List</a>
48
+
49
+ <a id="method_list_link" href="#">Method List</a>
50
+
51
+ <a id="file_list_link" href="#">File List</a>
52
+
53
+ </div>
54
+ <div class="clear"></div>
55
+ </div>
56
+
57
+ <iframe id="search_frame"></iframe>
58
+
59
+ <div id="content"><h1>Class: EZPaypal::Response
60
+
61
+
62
+
63
+ </h1>
64
+
65
+ <dl class="box">
66
+
67
+ <dt class="r1">Inherits:</dt>
68
+ <dd class="r1">
69
+ <span class="inheritName">HashWithIndifferentAccess</span>
70
+
71
+ <ul class="fullTree">
72
+ <li>Object</li>
73
+
74
+ <li class="next">HashWithIndifferentAccess</li>
75
+
76
+ <li class="next">EZPaypal::Response</li>
77
+
78
+ </ul>
79
+ <a href="#" class="inheritanceTree">show all</a>
80
+
81
+ </dd>
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+ <dt class="r2 last">Defined in:</dt>
92
+ <dd class="r2 last">lib/core/response.rb</dd>
93
+
94
+ </dl>
95
+ <div class="clear"></div>
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+ <h2>
106
+ Instance Method Summary
107
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
108
+ </h2>
109
+
110
+ <ul class="summary">
111
+
112
+ <li class="public ">
113
+ <span class="summary_signature">
114
+
115
+ <a href="#confirmPurchase-instance_method" title="#confirmPurchase (instance method)">- (Hash) <strong>confirmPurchase</strong> </a>
116
+
117
+
118
+
119
+ </span>
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+ <span class="summary_desc"><div class='inline'>
129
+ <p>Confirm purchase, only works if token and payer_id is obtained.</p>
130
+ </div></span>
131
+
132
+ </li>
133
+
134
+
135
+ <li class="public ">
136
+ <span class="summary_signature">
137
+
138
+ <a href="#errors-instance_method" title="#errors (instance method)">- (Hash) <strong>errors</strong> </a>
139
+
140
+
141
+
142
+ </span>
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+ <span class="summary_desc"><div class='inline'>
152
+ <p>Get current error message.</p>
153
+ </div></span>
154
+
155
+ </li>
156
+
157
+
158
+ <li class="public ">
159
+ <span class="summary_signature">
160
+
161
+ <a href="#getCheckoutDetails-instance_method" title="#getCheckoutDetails (instance method)">- (Hash) <strong>getCheckoutDetails</strong> </a>
162
+
163
+
164
+
165
+ </span>
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+ <span class="summary_desc"><div class='inline'>
175
+ <p>Get current checkout details, only works if token is obtained.</p>
176
+ </div></span>
177
+
178
+ </li>
179
+
180
+
181
+ <li class="public ">
182
+ <span class="summary_signature">
183
+
184
+ <a href="#getCheckoutURL-instance_method" title="#getCheckoutURL (instance method)">- (String) <strong>getCheckoutURL</strong> </a>
185
+
186
+
187
+
188
+ </span>
189
+
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+ <span class="summary_desc"><div class='inline'>
198
+ <p>Get current checkout url to redirect user to, only works if token is
199
+ obtained.</p>
200
+ </div></span>
201
+
202
+ </li>
203
+
204
+
205
+ <li class="public ">
206
+ <span class="summary_signature">
207
+
208
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (EZPaypal::Response &lt; Hash] response will be encoded, content is same as param) <strong>initialize</strong>(response) </a>
209
+
210
+
211
+
212
+ </span>
213
+
214
+ <span class="note title constructor">constructor</span>
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+
223
+ <span class="summary_desc"><div class='inline'>
224
+ <p>Constructor for Response object, take string response from paypal api
225
+ server as param.</p>
226
+ </div></span>
227
+
228
+ </li>
229
+
230
+
231
+ <li class="public ">
232
+ <span class="summary_signature">
233
+
234
+ <a href="#success%3F-instance_method" title="#success? (instance method)">- (Bool) <strong>success?</strong> </a>
235
+
236
+
237
+
238
+ </span>
239
+
240
+
241
+
242
+
243
+
244
+
245
+
246
+
247
+ <span class="summary_desc"><div class='inline'>
248
+ <p>Check current response is success or not.</p>
249
+ </div></span>
250
+
251
+ </li>
252
+
253
+
254
+ </ul>
255
+
256
+
257
+
258
+ <div id="constructor_details" class="method_details_list">
259
+ <h2>Constructor Details</h2>
260
+
261
+ <div class="method_details first">
262
+ <p class="signature first" id="initialize-instance_method">
263
+
264
+ - (<tt><span class='object_link'><a href="" title="EZPaypal::Response (class)">EZPaypal::Response</a></span> &lt; Hash] response will be encoded</tt>, <tt>content is same as param</tt>) <strong>initialize</strong>(response)
265
+
266
+
267
+
268
+ </p><div class="docstring">
269
+ <div class="discussion">
270
+
271
+ <p>Constructor for Response object, take string response from paypal api
272
+ server as param</p>
273
+
274
+
275
+ </div>
276
+ </div>
277
+ <div class="tags">
278
+ <h3>Parameters:</h3>
279
+ <ul class="param">
280
+
281
+ <li>
282
+
283
+ <span class='name'>response</span>
284
+
285
+
286
+ <span class='type'>(<tt>String/Hash</tt>)</span>
287
+
288
+
289
+
290
+ &mdash;
291
+ <div class='inline'>
292
+ <p>as a query string or hash including { "TOKEN", "PAYERID", "TIMESTAMP",
293
+ "CORRELATIONID", "ACK", "VERSION", "BUILD", "L_ERRORCODE0",
294
+ "L_SHORTMESSAGE0", "L_LONGMESSAGE0", "L_SEVERITYCODE0", ... }</p>
295
+ </div>
296
+
297
+ </li>
298
+
299
+ </ul>
300
+
301
+
302
+ </div><table class="source_code">
303
+ <tr>
304
+ <td>
305
+ <pre class="lines">
306
+
307
+
308
+ 15
309
+ 16
310
+ 17
311
+ 18</pre>
312
+ </td>
313
+ <td>
314
+ <pre class="code"><span class="info file"># File 'lib/core/response.rb', line 15</span>
315
+
316
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='lparen'>(</span><span class='id identifier rubyid_response'>response</span><span class='rparen'>)</span>
317
+ <span class='id identifier rubyid_hash_response'>hash_response</span> <span class='op'>=</span> <span class='const'>EZPaypal</span><span class='op'>::</span><span class='const'>Helper</span><span class='period'>.</span><span class='const'>ConvertParamToHash</span><span class='lparen'>(</span><span class='id identifier rubyid_response'>response</span><span class='rparen'>)</span>
318
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_merge!'>merge!</span><span class='lparen'>(</span><span class='id identifier rubyid_hash_response'>hash_response</span><span class='rparen'>)</span>
319
+ <span class='kw'>end</span></pre>
320
+ </td>
321
+ </tr>
322
+ </table>
323
+ </div>
324
+
325
+ </div>
326
+
327
+
328
+ <div id="instance_method_details" class="method_details_list">
329
+ <h2>Instance Method Details</h2>
330
+
331
+
332
+ <div class="method_details first">
333
+ <p class="signature first" id="confirmPurchase-instance_method">
334
+
335
+ - (<tt>Hash</tt>) <strong>confirmPurchase</strong>
336
+
337
+
338
+
339
+ </p><div class="docstring">
340
+ <div class="discussion">
341
+
342
+ <p>Confirm purchase, only works if token and payer_id is obtained</p>
343
+
344
+
345
+ </div>
346
+ </div>
347
+ <div class="tags">
348
+
349
+ <h3>Returns:</h3>
350
+ <ul class="return">
351
+
352
+ <li>
353
+
354
+
355
+ <span class='type'>(<tt>Hash</tt>)</span>
356
+
357
+
358
+
359
+ &mdash;
360
+ <div class='inline'>
361
+ <p>payment details associated with the given token and payer_id</p>
362
+ </div>
363
+
364
+ </li>
365
+
366
+ </ul>
367
+
368
+ </div><table class="source_code">
369
+ <tr>
370
+ <td>
371
+ <pre class="lines">
372
+
373
+
374
+ 71
375
+ 72
376
+ 73</pre>
377
+ </td>
378
+ <td>
379
+ <pre class="code"><span class="info file"># File 'lib/core/response.rb', line 71</span>
380
+
381
+ <span class='kw'>def</span> <span class='id identifier rubyid_confirmPurchase'>confirmPurchase</span>
382
+ <span class='const'>EZPaypal</span><span class='op'>::</span><span class='const'>Request</span><span class='period'>.</span><span class='const'>ConfirmPurchase</span><span class='lparen'>(</span><span class='kw'>self</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>TOKEN</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='kw'>self</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>PAYERID</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
383
+ <span class='kw'>end</span></pre>
384
+ </td>
385
+ </tr>
386
+ </table>
387
+ </div>
388
+
389
+ <div class="method_details ">
390
+ <p class="signature " id="errors-instance_method">
391
+
392
+ - (<tt>Hash</tt>) <strong>errors</strong>
393
+
394
+
395
+
396
+ </p><div class="docstring">
397
+ <div class="discussion">
398
+
399
+ <p>Get current error message</p>
400
+
401
+
402
+ </div>
403
+ </div>
404
+ <div class="tags">
405
+
406
+ <h3>Returns:</h3>
407
+ <ul class="return">
408
+
409
+ <li>
410
+
411
+
412
+ <span class='type'>(<tt>Hash</tt>)</span>
413
+
414
+
415
+
416
+ &mdash;
417
+ <div class='inline'>
418
+ <p>the error messages and error codes in hash array example return obj:
419
+ =&gt; [], "severity_codes"=[],</p>
420
+
421
+ <pre class="code ruby"><code>&quot;short_messages&quot; =[], &quot;long_messages&quot; =[]</code></pre>
422
+ </div>
423
+
424
+ </li>
425
+
426
+ </ul>
427
+
428
+ </div><table class="source_code">
429
+ <tr>
430
+ <td>
431
+ <pre class="lines">
432
+
433
+
434
+ 30
435
+ 31
436
+ 32
437
+ 33
438
+ 34
439
+ 35
440
+ 36
441
+ 37
442
+ 38
443
+ 39
444
+ 40
445
+ 41
446
+ 42
447
+ 43
448
+ 44
449
+ 45
450
+ 46
451
+ 47
452
+ 48
453
+ 49
454
+ 50
455
+ 51
456
+ 52
457
+ 53
458
+ 54
459
+ 55</pre>
460
+ </td>
461
+ <td>
462
+ <pre class="code"><span class="info file"># File 'lib/core/response.rb', line 30</span>
463
+
464
+ <span class='kw'>def</span> <span class='id identifier rubyid_errors'>errors</span>
465
+ <span class='id identifier rubyid_error_codes'>error_codes</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
466
+ <span class='id identifier rubyid_severity_codes'>severity_codes</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
467
+ <span class='id identifier rubyid_short_messages'>short_messages</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
468
+ <span class='id identifier rubyid_long_messages'>long_messages</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
469
+
470
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='op'>|</span>
471
+ <span class='kw'>if</span> <span class='id identifier rubyid_key'>key</span><span class='period'>.</span><span class='id identifier rubyid_match'>match</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^L_ERRORCODE</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span>
472
+ <span class='id identifier rubyid_error_codes'>error_codes</span><span class='period'>.</span><span class='id identifier rubyid_push'>push</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
473
+ <span class='kw'>end</span>
474
+ <span class='kw'>if</span> <span class='id identifier rubyid_key'>key</span><span class='period'>.</span><span class='id identifier rubyid_match'>match</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^L_SEVERITYCODE</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span>
475
+ <span class='id identifier rubyid_severity_codes'>severity_codes</span><span class='period'>.</span><span class='id identifier rubyid_push'>push</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
476
+ <span class='kw'>end</span>
477
+ <span class='kw'>if</span> <span class='id identifier rubyid_key'>key</span><span class='period'>.</span><span class='id identifier rubyid_match'>match</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^L_SHORTMESSAGE</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span>
478
+ <span class='id identifier rubyid_short_messages'>short_messages</span><span class='period'>.</span><span class='id identifier rubyid_push'>push</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
479
+ <span class='kw'>end</span>
480
+ <span class='kw'>if</span> <span class='id identifier rubyid_key'>key</span><span class='period'>.</span><span class='id identifier rubyid_match'>match</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^L_LONGMESSAGE</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span>
481
+ <span class='id identifier rubyid_long_messages'>long_messages</span><span class='period'>.</span><span class='id identifier rubyid_push'>push</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
482
+ <span class='kw'>end</span>
483
+ <span class='kw'>end</span>
484
+
485
+ <span class='id identifier rubyid_error_messages'>error_messages</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>error_codes</span><span class='tstring_end'>&quot;</span></span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_error_codes'>error_codes</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>severity_codes</span><span class='tstring_end'>&quot;</span></span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_severity_codes'>severity_codes</span><span class='comma'>,</span>
486
+ <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>short_messages</span><span class='tstring_end'>&quot;</span></span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_short_messages'>short_messages</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>long_messages</span><span class='tstring_end'>&quot;</span></span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_long_messages'>long_messages</span><span class='rbrace'>}</span>
487
+
488
+ <span class='kw'>return</span> <span class='id identifier rubyid_error_messages'>error_messages</span>
489
+ <span class='kw'>end</span></pre>
490
+ </td>
491
+ </tr>
492
+ </table>
493
+ </div>
494
+
495
+ <div class="method_details ">
496
+ <p class="signature " id="getCheckoutDetails-instance_method">
497
+
498
+ - (<tt>Hash</tt>) <strong>getCheckoutDetails</strong>
499
+
500
+
501
+
502
+ </p><div class="docstring">
503
+ <div class="discussion">
504
+
505
+ <p>Get current checkout details, only works if token is obtained</p>
506
+
507
+
508
+ </div>
509
+ </div>
510
+ <div class="tags">
511
+
512
+ <h3>Returns:</h3>
513
+ <ul class="return">
514
+
515
+ <li>
516
+
517
+
518
+ <span class='type'>(<tt>Hash</tt>)</span>
519
+
520
+
521
+
522
+ &mdash;
523
+ <div class='inline'>
524
+ <p>checkout details associated with the given token</p>
525
+ </div>
526
+
527
+ </li>
528
+
529
+ </ul>
530
+
531
+ </div><table class="source_code">
532
+ <tr>
533
+ <td>
534
+ <pre class="lines">
535
+
536
+
537
+ 65
538
+ 66
539
+ 67</pre>
540
+ </td>
541
+ <td>
542
+ <pre class="code"><span class="info file"># File 'lib/core/response.rb', line 65</span>
543
+
544
+ <span class='kw'>def</span> <span class='id identifier rubyid_getCheckoutDetails'>getCheckoutDetails</span>
545
+ <span class='const'>EZPaypal</span><span class='op'>::</span><span class='const'>Request</span><span class='period'>.</span><span class='const'>GetCheckoutDetails</span><span class='lparen'>(</span><span class='kw'>self</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>TOKEN</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
546
+ <span class='kw'>end</span></pre>
547
+ </td>
548
+ </tr>
549
+ </table>
550
+ </div>
551
+
552
+ <div class="method_details ">
553
+ <p class="signature " id="getCheckoutURL-instance_method">
554
+
555
+ - (<tt>String</tt>) <strong>getCheckoutURL</strong>
556
+
557
+
558
+
559
+ </p><div class="docstring">
560
+ <div class="discussion">
561
+
562
+ <p>Get current checkout url to redirect user to, only works if token is
563
+ obtained</p>
564
+
565
+
566
+ </div>
567
+ </div>
568
+ <div class="tags">
569
+
570
+ <h3>Returns:</h3>
571
+ <ul class="return">
572
+
573
+ <li>
574
+
575
+
576
+ <span class='type'>(<tt>String</tt>)</span>
577
+
578
+
579
+
580
+ &mdash;
581
+ <div class='inline'>
582
+ <p>paypal checkout url to redirect user to</p>
583
+ </div>
584
+
585
+ </li>
586
+
587
+ </ul>
588
+
589
+ </div><table class="source_code">
590
+ <tr>
591
+ <td>
592
+ <pre class="lines">
593
+
594
+
595
+ 59
596
+ 60
597
+ 61</pre>
598
+ </td>
599
+ <td>
600
+ <pre class="code"><span class="info file"># File 'lib/core/response.rb', line 59</span>
601
+
602
+ <span class='kw'>def</span> <span class='id identifier rubyid_getCheckoutURL'>getCheckoutURL</span>
603
+ <span class='const'>EZPaypal</span><span class='op'>::</span><span class='const'>Request</span><span class='period'>.</span><span class='const'>GetCheckoutURL</span><span class='lparen'>(</span><span class='kw'>self</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>TOKEN</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_success?'>success?</span>
604
+ <span class='kw'>end</span></pre>
605
+ </td>
606
+ </tr>
607
+ </table>
608
+ </div>
609
+
610
+ <div class="method_details ">
611
+ <p class="signature " id="success?-instance_method">
612
+
613
+ - (<tt>Bool</tt>) <strong>success?</strong>
614
+
615
+
616
+
617
+ </p><div class="docstring">
618
+ <div class="discussion">
619
+
620
+ <p>Check current response is success or not</p>
621
+
622
+
623
+ </div>
624
+ </div>
625
+ <div class="tags">
626
+
627
+ <h3>Returns:</h3>
628
+ <ul class="return">
629
+
630
+ <li>
631
+
632
+
633
+ <span class='type'>(<tt>Bool</tt>)</span>
634
+
635
+
636
+
637
+ &mdash;
638
+ <div class='inline'>
639
+ <p>true/false</p>
640
+ </div>
641
+
642
+ </li>
643
+
644
+ </ul>
645
+
646
+ </div><table class="source_code">
647
+ <tr>
648
+ <td>
649
+ <pre class="lines">
650
+
651
+
652
+ 22
653
+ 23
654
+ 24</pre>
655
+ </td>
656
+ <td>
657
+ <pre class="code"><span class="info file"># File 'lib/core/response.rb', line 22</span>
658
+
659
+ <span class='kw'>def</span> <span class='id identifier rubyid_success?'>success?</span>
660
+ <span class='kw'>return</span> <span class='kw'>self</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>ACK</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_downcase'>downcase</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>success</span><span class='tstring_end'>&quot;</span></span>
661
+ <span class='kw'>end</span></pre>
662
+ </td>
663
+ </tr>
664
+ </table>
665
+ </div>
666
+
667
+ </div>
668
+
669
+ </div>
670
+
671
+ <div id="footer">
672
+ Generated on Sat Apr 21 02:53:51 2012 by
673
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
674
+ 0.7.5 (ruby-1.9.3).
675
+ </div>
676
+
677
+ </body>
678
+ </html>