magpie 0.8.8 → 0.8.8.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,259 @@
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 name="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>Class: Magpie::Tenpay</title>
7
+ <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
8
+ <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
9
+
10
+ <script type="text/javascript" charset="utf-8">
11
+ relpath = '..';
12
+ if (relpath != '') relpath += '/';
13
+ </script>
14
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
15
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
16
+
17
+ </head>
18
+ <body>
19
+ <script type="text/javascript" charset="utf-8">
20
+ if (window.top.frames.main) document.body.className = 'frames';
21
+ </script>
22
+
23
+ <div id="header">
24
+ <div id="menu">
25
+
26
+ <a href="../_index.html">Index (T)</a> &raquo;
27
+ <span class='title'><span class='object_link'><a href="../Magpie.html" title="Magpie (module)">Magpie</a></span></span>
28
+ &raquo;
29
+ <span class="title">Tenpay</span>
30
+
31
+
32
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
33
+ </div>
34
+
35
+ <div id="search">
36
+ <a id="class_list_link" href="#">Class List</a>
37
+ <a id="method_list_link" href="#">Method List</a>
38
+ <a id ="file_list_link" href="#">File List</a>
39
+ </div>
40
+
41
+ <div class="clear"></div>
42
+ </div>
43
+
44
+ <iframe id="search_frame"></iframe>
45
+
46
+ <div id="content"><h1>Class: Magpie::Tenpay
47
+
48
+
49
+
50
+ </h1>
51
+
52
+ <dl class="box">
53
+
54
+ <dt class="r1">Inherits:</dt>
55
+ <dd class="r1">
56
+ <span class="inheritName">Object</span>
57
+
58
+ <ul class="fullTree">
59
+ <li>Object</li>
60
+
61
+ <li class="next">Magpie::Tenpay</li>
62
+
63
+ </ul>
64
+ <a href="#" class="inheritanceTree">show all</a>
65
+
66
+ </dd>
67
+
68
+
69
+
70
+
71
+
72
+
73
+ <dt class="r2">Includes:</dt>
74
+ <dd class="r2"><span class='object_link'><a href="Utils.html" title="Magpie::Utils (module)">Utils</a></span></dd>
75
+
76
+
77
+
78
+
79
+
80
+ <dt class="r1 last">Defined in:</dt>
81
+ <dd class="r1 last">lib/middles/tenpay.rb</dd>
82
+
83
+ </dl>
84
+ <div class="clear"></div>
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+ <h2>
95
+ Instance Method Summary
96
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
97
+ </h2>
98
+
99
+ <ul class="summary">
100
+
101
+ <li class="public ">
102
+ <span class="summary_signature">
103
+
104
+ <a href="#call-instance_method" title="#call (instance method)">- (Object) <strong>call</strong>(env) </a>
105
+
106
+
107
+
108
+ </span>
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+ <span class="summary_desc"><div class='inline'></div></span>
118
+
119
+ </li>
120
+
121
+
122
+ <li class="public ">
123
+ <span class="summary_signature">
124
+
125
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (Tenpay) <strong>initialize</strong>(app, pay_gateway = &quot;http://service.tenpay.com/cgi-bin/v3.0/payservice.cgi&quot;) </a>
126
+
127
+
128
+
129
+ </span>
130
+
131
+ <span class="note title constructor">constructor</span>
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+
140
+ <span class="summary_desc"><div class='inline'><p>
141
+ A new instance of Tenpay.
142
+ </p>
143
+ </div></span>
144
+
145
+ </li>
146
+
147
+
148
+ </ul>
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+ <h3 class="inherited">Methods included from <span class='object_link'><a href="Utils.html" title="Magpie::Utils (module)">Utils</a></span></h3>
160
+ <p class="inherited"><span class='object_link'><a href="Utils.html#build_xml-instance_method" title="Magpie::Utils#build_xml (method)">#build_xml</a></span>, <span class='object_link'><a href="Utils.html#dig-instance_method" title="Magpie::Utils#dig (method)">#dig</a></span>, <span class='object_link'><a href="Utils.html#get_notify_res-instance_method" title="Magpie::Utils#get_notify_res (method)">#get_notify_res</a></span>, <span class='object_link'><a href="Utils.html#get_query-instance_method" title="Magpie::Utils#get_query (method)">#get_query</a></span>, <span class='object_link'><a href="Utils.html#get_xml_body-instance_method" title="Magpie::Utils#get_xml_body (method)">#get_xml_body</a></span>, <span class='object_link'><a href="Utils.html#hash_to_xml-instance_method" title="Magpie::Utils#hash_to_xml (method)">#hash_to_xml</a></span>, <span class='object_link'><a href="Utils.html#log_errors-instance_method" title="Magpie::Utils#log_errors (method)">#log_errors</a></span>, <span class='object_link'><a href="Utils.html#log_notify-instance_method" title="Magpie::Utils#log_notify (method)">#log_notify</a></span>, <span class='object_link'><a href="Utils.html#post_query-instance_method" title="Magpie::Utils#post_query (method)">#post_query</a></span>, <span class='object_link'><a href="Utils.html#send_notify-instance_method" title="Magpie::Utils#send_notify (method)">#send_notify</a></span>, <span class='object_link'><a href="Utils.html#send_req_to-instance_method" title="Magpie::Utils#send_req_to (method)">#send_req_to</a></span>, <span class='object_link'><a href="Utils.html#start_http-instance_method" title="Magpie::Utils#start_http (method)">#start_http</a></span></p>
161
+ <div id="constructor_details" class="method_details_list">
162
+ <h2>Constructor Details</h2>
163
+
164
+ <div class="method_details first">
165
+ <p class="signature first" id="initialize-instance_method">
166
+
167
+ - (<tt><span class='object_link'><a href="" title="Magpie::Tenpay (class)">Tenpay</a></span></tt>) <strong>initialize</strong>(app, pay_gateway = &quot;http://service.tenpay.com/cgi-bin/v3.0/payservice.cgi&quot;)
168
+
169
+
170
+
171
+ </p><div class="docstring">
172
+ <div class="discussion">
173
+ <p>
174
+ A new instance of Tenpay
175
+ </p>
176
+
177
+
178
+ </div>
179
+ </div>
180
+ <div class="tags">
181
+
182
+ </div><table class="source_code">
183
+ <tr>
184
+ <td>
185
+ <pre class="lines">
186
+
187
+
188
+ 9
189
+ 10
190
+ 11
191
+ 12
192
+ 13
193
+ 14</pre>
194
+ </td>
195
+ <td>
196
+ <pre class="code"><span class="info file"># File 'lib/middles/tenpay.rb', line 9</span>
197
+
198
+ <span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='app identifier id'>app</span><span class='comma token'>,</span> <span class='pay_gateway identifier id'>pay_gateway</span> <span class='assign token'>=</span> <span class='string val'>&quot;http://service.tenpay.com/cgi-bin/v3.0/payservice.cgi&quot;</span><span class='rparen token'>)</span>
199
+ <span class='@app ivar id'>@app</span> <span class='assign token'>=</span> <span class='app identifier id'>app</span>
200
+ <span class='@pay_gateway ivar id'>@pay_gateway</span> <span class='assign token'>=</span> <span class='pay_gateway identifier id'>pay_gateway</span>
201
+ <span class='@red_xpath ivar id'>@red_xpath</span> <span class='assign token'>=</span> <span class='string val'>&quot;//div[@id='error-info']&quot;</span>
202
+ <span class='@error_xpath ivar id'>@error_xpath</span> <span class='assign token'>=</span> <span class='string val'>&quot;//td[@class='font_14']&quot;</span>
203
+ <span class='end end kw'>end</span>
204
+ </pre>
205
+ </td>
206
+ </tr>
207
+ </table>
208
+ </div>
209
+
210
+ </div>
211
+
212
+
213
+ <div id="instance_method_details" class="method_details_list">
214
+ <h2>Instance Method Details</h2>
215
+
216
+
217
+ <div class="method_details first">
218
+ <p class="signature first" id="call-instance_method">
219
+
220
+ - (<tt>Object</tt>) <strong>call</strong>(env)
221
+
222
+
223
+
224
+ </p><table class="source_code">
225
+ <tr>
226
+ <td>
227
+ <pre class="lines">
228
+
229
+
230
+ 16
231
+ 17
232
+ 18
233
+ 19</pre>
234
+ </td>
235
+ <td>
236
+ <pre class="code"><span class="info file"># File 'lib/middles/tenpay.rb', line 16</span>
237
+
238
+ <span class='def def kw'>def</span> <span class='call identifier id'>call</span><span class='lparen token'>(</span><span class='env identifier id'>env</span><span class='rparen token'>)</span>
239
+ <span class='status identifier id'>status</span><span class='comma token'>,</span> <span class='header identifier id'>header</span><span class='comma token'>,</span> <span class='body identifier id'>body</span><span class='comma token'>,</span> <span class='req identifier id'>req</span><span class='comma token'>,</span> <span class='red_text identifier id'>red_text</span> <span class='assign token'>=</span> <span class='dig identifier id'>dig</span> <span class='env identifier id'>env</span>
240
+ <span class='lbrack token'>[</span><span class='status identifier id'>status</span><span class='comma token'>,</span> <span class='header identifier id'>header</span><span class='comma token'>,</span> <span class='get_xml_body identifier id'>get_xml_body</span><span class='lparen token'>(</span><span class='env identifier id'>env</span><span class='comma token'>,</span> <span class='TenpayModel constant id'>TenpayModel</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='req identifier id'>req</span><span class='dot token'>.</span><span class='params identifier id'>params</span><span class='rparen token'>)</span><span class='comma token'>,</span> <span class='red_text identifier id'>red_text</span><span class='rparen token'>)</span><span class='rbrack token'>]</span>
241
+ <span class='end end kw'>end</span>
242
+ </pre>
243
+ </td>
244
+ </tr>
245
+ </table>
246
+ </div>
247
+
248
+ </div>
249
+
250
+ </div>
251
+
252
+ <div id="footer">
253
+ Generated on Mon Nov 8 16:21:44 2010 by
254
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
255
+ 0.6.1 (ruby-1.8.7).
256
+ </div>
257
+
258
+ </body>
259
+ </html>
@@ -0,0 +1,1542 @@
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 name="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>Class: Magpie::TenpayModel</title>
7
+ <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
8
+ <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
9
+
10
+ <script type="text/javascript" charset="utf-8">
11
+ relpath = '..';
12
+ if (relpath != '') relpath += '/';
13
+ </script>
14
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
15
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
16
+
17
+ </head>
18
+ <body>
19
+ <script type="text/javascript" charset="utf-8">
20
+ if (window.top.frames.main) document.body.className = 'frames';
21
+ </script>
22
+
23
+ <div id="header">
24
+ <div id="menu">
25
+
26
+ <a href="../_index.html">Index (T)</a> &raquo;
27
+ <span class='title'><span class='object_link'><a href="../Magpie.html" title="Magpie (module)">Magpie</a></span></span>
28
+ &raquo;
29
+ <span class="title">TenpayModel</span>
30
+
31
+
32
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
33
+ </div>
34
+
35
+ <div id="search">
36
+ <a id="class_list_link" href="#">Class List</a>
37
+ <a id="method_list_link" href="#">Method List</a>
38
+ <a id ="file_list_link" href="#">File List</a>
39
+ </div>
40
+
41
+ <div class="clear"></div>
42
+ </div>
43
+
44
+ <iframe id="search_frame"></iframe>
45
+
46
+ <div id="content"><h1>Class: Magpie::TenpayModel
47
+
48
+
49
+
50
+ </h1>
51
+
52
+ <dl class="box">
53
+
54
+ <dt class="r1">Inherits:</dt>
55
+ <dd class="r1">
56
+ <span class="inheritName">Object</span>
57
+
58
+ <ul class="fullTree">
59
+ <li>Object</li>
60
+
61
+ <li class="next">Magpie::TenpayModel</li>
62
+
63
+ </ul>
64
+ <a href="#" class="inheritanceTree">show all</a>
65
+
66
+ </dd>
67
+
68
+
69
+
70
+
71
+
72
+
73
+ <dt class="r2">Includes:</dt>
74
+ <dd class="r2"><span class='object_link'><a href="Goose.html" title="Magpie::Goose (module)">Goose</a></span>, <span class='object_link'><a href="Mouse.html" title="Magpie::Mouse (module)">Mouse</a></span></dd>
75
+
76
+
77
+
78
+
79
+
80
+ <dt class="r1 last">Defined in:</dt>
81
+ <dd class="r1 last">lib/models/tenpay.rb</dd>
82
+
83
+ </dl>
84
+ <div class="clear"></div>
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+ <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
97
+ <ul class="summary">
98
+
99
+ <li class="public ">
100
+ <span class="summary_signature">
101
+
102
+ <a href="#attach-instance_method" title="#attach (instance method)">- (Object) <strong>attach</strong> </a>
103
+
104
+
105
+
106
+ </span>
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+ <span class="summary_desc"><div class='inline'><p>
119
+ Returns the value of attribute attach.
120
+ </p>
121
+ </div></span>
122
+
123
+ </li>
124
+
125
+
126
+ <li class="public ">
127
+ <span class="summary_signature">
128
+
129
+ <a href="#bank_type-instance_method" title="#bank_type (instance method)">- (Object) <strong>bank_type</strong> </a>
130
+
131
+
132
+
133
+ </span>
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+ <span class="summary_desc"><div class='inline'><p>
146
+ Returns the value of attribute bank_type.
147
+ </p>
148
+ </div></span>
149
+
150
+ </li>
151
+
152
+
153
+ <li class="public ">
154
+ <span class="summary_signature">
155
+
156
+ <a href="#bargainor_id-instance_method" title="#bargainor_id (instance method)">- (Object) <strong>bargainor_id</strong> </a>
157
+
158
+
159
+
160
+ </span>
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+ <span class="summary_desc"><div class='inline'><p>
173
+ Returns the value of attribute bargainor_id.
174
+ </p>
175
+ </div></span>
176
+
177
+ </li>
178
+
179
+
180
+ <li class="public ">
181
+ <span class="summary_signature">
182
+
183
+ <a href="#cmdno-instance_method" title="#cmdno (instance method)">- (Object) <strong>cmdno</strong> </a>
184
+
185
+
186
+
187
+ </span>
188
+
189
+
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+ <span class="summary_desc"><div class='inline'><p>
200
+ Returns the value of attribute cmdno.
201
+ </p>
202
+ </div></span>
203
+
204
+ </li>
205
+
206
+
207
+ <li class="public ">
208
+ <span class="summary_signature">
209
+
210
+ <a href="#date-instance_method" title="#date (instance method)">- (Object) <strong>date</strong> </a>
211
+
212
+
213
+
214
+ </span>
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+
226
+ <span class="summary_desc"><div class='inline'><p>
227
+ Returns the value of attribute date.
228
+ </p>
229
+ </div></span>
230
+
231
+ </li>
232
+
233
+
234
+ <li class="public ">
235
+ <span class="summary_signature">
236
+
237
+ <a href="#desc-instance_method" title="#desc (instance method)">- (Object) <strong>desc</strong> </a>
238
+
239
+
240
+
241
+ </span>
242
+
243
+
244
+
245
+
246
+
247
+
248
+
249
+
250
+
251
+
252
+
253
+ <span class="summary_desc"><div class='inline'><p>
254
+ Returns the value of attribute desc.
255
+ </p>
256
+ </div></span>
257
+
258
+ </li>
259
+
260
+
261
+ <li class="public ">
262
+ <span class="summary_signature">
263
+
264
+ <a href="#fee_type-instance_method" title="#fee_type (instance method)">- (Object) <strong>fee_type</strong> </a>
265
+
266
+
267
+
268
+ </span>
269
+
270
+
271
+
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+ <span class="summary_desc"><div class='inline'><p>
281
+ Returns the value of attribute fee_type.
282
+ </p>
283
+ </div></span>
284
+
285
+ </li>
286
+
287
+
288
+ <li class="public ">
289
+ <span class="summary_signature">
290
+
291
+ <a href="#purchaser_id-instance_method" title="#purchaser_id (instance method)">- (Object) <strong>purchaser_id</strong> </a>
292
+
293
+
294
+
295
+ </span>
296
+
297
+
298
+
299
+
300
+
301
+
302
+
303
+
304
+
305
+
306
+
307
+ <span class="summary_desc"><div class='inline'><p>
308
+ Returns the value of attribute purchaser_id.
309
+ </p>
310
+ </div></span>
311
+
312
+ </li>
313
+
314
+
315
+ <li class="public ">
316
+ <span class="summary_signature">
317
+
318
+ <a href="#return_url-instance_method" title="#return_url (instance method)">- (Object) <strong>return_url</strong> </a>
319
+
320
+
321
+
322
+ </span>
323
+
324
+
325
+
326
+
327
+
328
+
329
+
330
+
331
+
332
+
333
+
334
+ <span class="summary_desc"><div class='inline'><p>
335
+ Returns the value of attribute return_url.
336
+ </p>
337
+ </div></span>
338
+
339
+ </li>
340
+
341
+
342
+ <li class="public ">
343
+ <span class="summary_signature">
344
+
345
+ <a href="#sign-instance_method" title="#sign (instance method)">- (Object) <strong>sign</strong> </a>
346
+
347
+
348
+
349
+ </span>
350
+
351
+
352
+
353
+
354
+
355
+
356
+
357
+
358
+
359
+
360
+
361
+ <span class="summary_desc"><div class='inline'><p>
362
+ Returns the value of attribute sign.
363
+ </p>
364
+ </div></span>
365
+
366
+ </li>
367
+
368
+
369
+ <li class="public ">
370
+ <span class="summary_signature">
371
+
372
+ <a href="#sp_billno-instance_method" title="#sp_billno (instance method)">- (Object) <strong>sp_billno</strong> </a>
373
+
374
+
375
+
376
+ </span>
377
+
378
+
379
+
380
+
381
+
382
+
383
+
384
+
385
+
386
+
387
+
388
+ <span class="summary_desc"><div class='inline'><p>
389
+ Returns the value of attribute sp_billno.
390
+ </p>
391
+ </div></span>
392
+
393
+ </li>
394
+
395
+
396
+ <li class="public ">
397
+ <span class="summary_signature">
398
+
399
+ <a href="#spbill_create_ip-instance_method" title="#spbill_create_ip (instance method)">- (Object) <strong>spbill_create_ip</strong> </a>
400
+
401
+
402
+
403
+ </span>
404
+
405
+
406
+
407
+
408
+
409
+
410
+
411
+
412
+
413
+
414
+
415
+ <span class="summary_desc"><div class='inline'><p>
416
+ Returns the value of attribute spbill_create_ip.
417
+ </p>
418
+ </div></span>
419
+
420
+ </li>
421
+
422
+
423
+ <li class="public ">
424
+ <span class="summary_signature">
425
+
426
+ <a href="#total_fee-instance_method" title="#total_fee (instance method)">- (Object) <strong>total_fee</strong> </a>
427
+
428
+
429
+
430
+ </span>
431
+
432
+
433
+
434
+
435
+
436
+
437
+
438
+
439
+
440
+
441
+
442
+ <span class="summary_desc"><div class='inline'><p>
443
+ Returns the value of attribute total_fee.
444
+ </p>
445
+ </div></span>
446
+
447
+ </li>
448
+
449
+
450
+ <li class="public ">
451
+ <span class="summary_signature">
452
+
453
+ <a href="#transaction_id-instance_method" title="#transaction_id (instance method)">- (Object) <strong>transaction_id</strong> </a>
454
+
455
+
456
+
457
+ </span>
458
+
459
+
460
+
461
+
462
+
463
+
464
+
465
+
466
+
467
+
468
+
469
+ <span class="summary_desc"><div class='inline'><p>
470
+ Returns the value of attribute transaction_id.
471
+ </p>
472
+ </div></span>
473
+
474
+ </li>
475
+
476
+
477
+ </ul>
478
+
479
+
480
+
481
+ <h2>
482
+ Instance Method Summary
483
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
484
+ </h2>
485
+
486
+ <ul class="summary">
487
+
488
+ <li class="public ">
489
+ <span class="summary_signature">
490
+
491
+ <a href="#invalid_request_sign%3F-instance_method" title="#invalid_request_sign? (instance method)">- (Boolean) <strong>invalid_request_sign?</strong> </a>
492
+
493
+
494
+
495
+ </span>
496
+
497
+
498
+
499
+
500
+
501
+
502
+
503
+
504
+ <span class="summary_desc"><div class='inline'></div></span>
505
+
506
+ </li>
507
+
508
+
509
+ <li class="public ">
510
+ <span class="summary_signature">
511
+
512
+ <a href="#notify-instance_method" title="#notify (instance method)">- (Object) <strong>notify</strong> </a>
513
+
514
+
515
+
516
+ </span>
517
+
518
+
519
+
520
+
521
+
522
+
523
+
524
+
525
+ <span class="summary_desc"><div class='inline'></div></span>
526
+
527
+ </li>
528
+
529
+
530
+ <li class="public ">
531
+ <span class="summary_signature">
532
+
533
+ <a href="#notify_sign-instance_method" title="#notify_sign (instance method)">- (Object) <strong>notify_sign</strong> </a>
534
+
535
+
536
+
537
+ </span>
538
+
539
+
540
+
541
+
542
+
543
+
544
+
545
+
546
+ <span class="summary_desc"><div class='inline'></div></span>
547
+
548
+ </li>
549
+
550
+
551
+ <li class="public ">
552
+ <span class="summary_signature">
553
+
554
+ <a href="#notify_string-instance_method" title="#notify_string (instance method)">- (Object) <strong>notify_string</strong> </a>
555
+
556
+
557
+
558
+ </span>
559
+
560
+
561
+
562
+
563
+
564
+
565
+
566
+
567
+ <span class="summary_desc"><div class='inline'></div></span>
568
+
569
+ </li>
570
+
571
+
572
+ <li class="public ">
573
+ <span class="summary_signature">
574
+
575
+ <a href="#notify_url-instance_method" title="#notify_url (instance method)">- (Object) <strong>notify_url</strong> </a>
576
+
577
+
578
+
579
+ </span>
580
+
581
+
582
+
583
+
584
+
585
+
586
+
587
+
588
+ <span class="summary_desc"><div class='inline'></div></span>
589
+
590
+ </li>
591
+
592
+
593
+ <li class="public ">
594
+ <span class="summary_signature">
595
+
596
+ <a href="#partner-instance_method" title="#partner (instance method)">- (Object) <strong>partner</strong> </a>
597
+
598
+
599
+
600
+ </span>
601
+
602
+
603
+
604
+
605
+
606
+
607
+
608
+
609
+ <span class="summary_desc"><div class='inline'></div></span>
610
+
611
+ </li>
612
+
613
+
614
+ <li class="public ">
615
+ <span class="summary_signature">
616
+
617
+ <a href="#pay_result-instance_method" title="#pay_result (instance method)">- (Object) <strong>pay_result</strong> </a>
618
+
619
+
620
+
621
+ </span>
622
+
623
+
624
+
625
+
626
+
627
+
628
+
629
+
630
+ <span class="summary_desc"><div class='inline'></div></span>
631
+
632
+ </li>
633
+
634
+
635
+ </ul>
636
+
637
+
638
+
639
+
640
+
641
+
642
+
643
+
644
+
645
+
646
+ <h3 class="inherited">Methods included from <span class='object_link'><a href="Mouse.html" title="Magpie::Mouse (module)">Mouse</a></span></h3>
647
+ <p class="inherited"><span class='object_link'><a href="Mouse.html#account-instance_method" title="Magpie::Mouse#account (method)">#account</a></span>, <span class='object_link'><a href="Mouse.html#included-class_method" title="Magpie::Mouse.included (method)">included</a></span>, <span class='object_link'><a href="Mouse.html#key-instance_method" title="Magpie::Mouse#key (method)">#key</a></span>, <span class='object_link'><a href="Mouse.html#missing_partner%3F-instance_method" title="Magpie::Mouse#missing_partner? (method)">#missing_partner?</a></span></p>
648
+
649
+
650
+
651
+
652
+
653
+
654
+
655
+
656
+ <h3 class="inherited">Methods included from <span class='object_link'><a href="Goose.html" title="Magpie::Goose (module)">Goose</a></span></h3>
657
+ <p class="inherited"><span class='object_link'><a href="Goose.html#errors-instance_method" title="Magpie::Goose#errors (method)">#errors</a></span>, <span class='object_link'><a href="Goose.html#included-class_method" title="Magpie::Goose.included (method)">included</a></span>, <span class='object_link'><a href="Goose.html#initialize-instance_method" title="Magpie::Goose#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="Goose.html#valid%3F-instance_method" title="Magpie::Goose#valid? (method)">#valid?</a></span>, <span class='object_link'><a href="Goose.html#validating-instance_method" title="Magpie::Goose#validating (method)">#validating</a></span></p>
658
+ <div id="constructor_details" class="method_details_list">
659
+ <h2>Constructor Details</h2>
660
+
661
+ <p class="notice">This class inherits a constructor from <span class='object_link'><a href="Goose.html#initialize-instance_method" title="Magpie::Goose#initialize (method)">Magpie::Goose</a></span></p>
662
+
663
+ </div>
664
+
665
+ <div id="instance_attr_details" class="attr_details">
666
+ <h2>Instance Attribute Details</h2>
667
+
668
+
669
+ <span id="attach=-instance_method"></span>
670
+ <span id="attach-instance_method"></span>
671
+ <div class="method_details first">
672
+ <p class="signature first" id="attach-instance_method">
673
+
674
+ - (<tt>Object</tt>) <strong>attach</strong>
675
+
676
+
677
+
678
+ </p><div class="docstring">
679
+ <div class="discussion">
680
+ <p>
681
+ Returns the value of attribute attach
682
+ </p>
683
+
684
+
685
+ </div>
686
+ </div>
687
+ <div class="tags">
688
+
689
+ </div><table class="source_code">
690
+ <tr>
691
+ <td>
692
+ <pre class="lines">
693
+
694
+
695
+ 13
696
+ 14
697
+ 15</pre>
698
+ </td>
699
+ <td>
700
+ <pre class="code"><span class="info file"># File 'lib/models/tenpay.rb', line 13</span>
701
+
702
+ <span class='def def kw'>def</span> <span class='attach identifier id'>attach</span>
703
+ <span class='@attach ivar id'>@attach</span>
704
+ <span class='end end kw'>end</span>
705
+ </pre>
706
+ </td>
707
+ </tr>
708
+ </table>
709
+ </div>
710
+
711
+
712
+ <span id="bank_type=-instance_method"></span>
713
+ <span id="bank_type-instance_method"></span>
714
+ <div class="method_details ">
715
+ <p class="signature " id="bank_type-instance_method">
716
+
717
+ - (<tt>Object</tt>) <strong>bank_type</strong>
718
+
719
+
720
+
721
+ </p><div class="docstring">
722
+ <div class="discussion">
723
+ <p>
724
+ Returns the value of attribute bank_type
725
+ </p>
726
+
727
+
728
+ </div>
729
+ </div>
730
+ <div class="tags">
731
+
732
+ </div><table class="source_code">
733
+ <tr>
734
+ <td>
735
+ <pre class="lines">
736
+
737
+
738
+ 11
739
+ 12
740
+ 13</pre>
741
+ </td>
742
+ <td>
743
+ <pre class="code"><span class="info file"># File 'lib/models/tenpay.rb', line 11</span>
744
+
745
+ <span class='def def kw'>def</span> <span class='bank_type identifier id'>bank_type</span>
746
+ <span class='@bank_type ivar id'>@bank_type</span>
747
+ <span class='end end kw'>end</span>
748
+ </pre>
749
+ </td>
750
+ </tr>
751
+ </table>
752
+ </div>
753
+
754
+
755
+ <span id="bargainor_id=-instance_method"></span>
756
+ <span id="bargainor_id-instance_method"></span>
757
+ <div class="method_details ">
758
+ <p class="signature " id="bargainor_id-instance_method">
759
+
760
+ - (<tt>Object</tt>) <strong>bargainor_id</strong>
761
+
762
+
763
+
764
+ </p><div class="docstring">
765
+ <div class="discussion">
766
+ <p>
767
+ Returns the value of attribute bargainor_id
768
+ </p>
769
+
770
+
771
+ </div>
772
+ </div>
773
+ <div class="tags">
774
+
775
+ </div><table class="source_code">
776
+ <tr>
777
+ <td>
778
+ <pre class="lines">
779
+
780
+
781
+ 11
782
+ 12
783
+ 13</pre>
784
+ </td>
785
+ <td>
786
+ <pre class="code"><span class="info file"># File 'lib/models/tenpay.rb', line 11</span>
787
+
788
+ <span class='def def kw'>def</span> <span class='bargainor_id identifier id'>bargainor_id</span>
789
+ <span class='@bargainor_id ivar id'>@bargainor_id</span>
790
+ <span class='end end kw'>end</span>
791
+ </pre>
792
+ </td>
793
+ </tr>
794
+ </table>
795
+ </div>
796
+
797
+
798
+ <span id="cmdno=-instance_method"></span>
799
+ <span id="cmdno-instance_method"></span>
800
+ <div class="method_details ">
801
+ <p class="signature " id="cmdno-instance_method">
802
+
803
+ - (<tt>Object</tt>) <strong>cmdno</strong>
804
+
805
+
806
+
807
+ </p><div class="docstring">
808
+ <div class="discussion">
809
+ <p>
810
+ Returns the value of attribute cmdno
811
+ </p>
812
+
813
+
814
+ </div>
815
+ </div>
816
+ <div class="tags">
817
+
818
+ </div><table class="source_code">
819
+ <tr>
820
+ <td>
821
+ <pre class="lines">
822
+
823
+
824
+ 11
825
+ 12
826
+ 13</pre>
827
+ </td>
828
+ <td>
829
+ <pre class="code"><span class="info file"># File 'lib/models/tenpay.rb', line 11</span>
830
+
831
+ <span class='def def kw'>def</span> <span class='cmdno identifier id'>cmdno</span>
832
+ <span class='@cmdno ivar id'>@cmdno</span>
833
+ <span class='end end kw'>end</span>
834
+ </pre>
835
+ </td>
836
+ </tr>
837
+ </table>
838
+ </div>
839
+
840
+
841
+ <span id="date=-instance_method"></span>
842
+ <span id="date-instance_method"></span>
843
+ <div class="method_details ">
844
+ <p class="signature " id="date-instance_method">
845
+
846
+ - (<tt>Object</tt>) <strong>date</strong>
847
+
848
+
849
+
850
+ </p><div class="docstring">
851
+ <div class="discussion">
852
+ <p>
853
+ Returns the value of attribute date
854
+ </p>
855
+
856
+
857
+ </div>
858
+ </div>
859
+ <div class="tags">
860
+
861
+ </div><table class="source_code">
862
+ <tr>
863
+ <td>
864
+ <pre class="lines">
865
+
866
+
867
+ 11
868
+ 12
869
+ 13</pre>
870
+ </td>
871
+ <td>
872
+ <pre class="code"><span class="info file"># File 'lib/models/tenpay.rb', line 11</span>
873
+
874
+ <span class='def def kw'>def</span> <span class='date identifier id'>date</span>
875
+ <span class='@date ivar id'>@date</span>
876
+ <span class='end end kw'>end</span>
877
+ </pre>
878
+ </td>
879
+ </tr>
880
+ </table>
881
+ </div>
882
+
883
+
884
+ <span id="desc=-instance_method"></span>
885
+ <span id="desc-instance_method"></span>
886
+ <div class="method_details ">
887
+ <p class="signature " id="desc-instance_method">
888
+
889
+ - (<tt>Object</tt>) <strong>desc</strong>
890
+
891
+
892
+
893
+ </p><div class="docstring">
894
+ <div class="discussion">
895
+ <p>
896
+ Returns the value of attribute desc
897
+ </p>
898
+
899
+
900
+ </div>
901
+ </div>
902
+ <div class="tags">
903
+
904
+ </div><table class="source_code">
905
+ <tr>
906
+ <td>
907
+ <pre class="lines">
908
+
909
+
910
+ 11
911
+ 12
912
+ 13</pre>
913
+ </td>
914
+ <td>
915
+ <pre class="code"><span class="info file"># File 'lib/models/tenpay.rb', line 11</span>
916
+
917
+ <span class='def def kw'>def</span> <span class='desc identifier id'>desc</span>
918
+ <span class='@desc ivar id'>@desc</span>
919
+ <span class='end end kw'>end</span>
920
+ </pre>
921
+ </td>
922
+ </tr>
923
+ </table>
924
+ </div>
925
+
926
+
927
+ <span id="fee_type=-instance_method"></span>
928
+ <span id="fee_type-instance_method"></span>
929
+ <div class="method_details ">
930
+ <p class="signature " id="fee_type-instance_method">
931
+
932
+ - (<tt>Object</tt>) <strong>fee_type</strong>
933
+
934
+
935
+
936
+ </p><div class="docstring">
937
+ <div class="discussion">
938
+ <p>
939
+ Returns the value of attribute fee_type
940
+ </p>
941
+
942
+
943
+ </div>
944
+ </div>
945
+ <div class="tags">
946
+
947
+ </div><table class="source_code">
948
+ <tr>
949
+ <td>
950
+ <pre class="lines">
951
+
952
+
953
+ 13
954
+ 14
955
+ 15</pre>
956
+ </td>
957
+ <td>
958
+ <pre class="code"><span class="info file"># File 'lib/models/tenpay.rb', line 13</span>
959
+
960
+ <span class='def def kw'>def</span> <span class='fee_type identifier id'>fee_type</span>
961
+ <span class='@fee_type ivar id'>@fee_type</span>
962
+ <span class='end end kw'>end</span>
963
+ </pre>
964
+ </td>
965
+ </tr>
966
+ </table>
967
+ </div>
968
+
969
+
970
+ <span id="purchaser_id=-instance_method"></span>
971
+ <span id="purchaser_id-instance_method"></span>
972
+ <div class="method_details ">
973
+ <p class="signature " id="purchaser_id-instance_method">
974
+
975
+ - (<tt>Object</tt>) <strong>purchaser_id</strong>
976
+
977
+
978
+
979
+ </p><div class="docstring">
980
+ <div class="discussion">
981
+ <p>
982
+ Returns the value of attribute purchaser_id
983
+ </p>
984
+
985
+
986
+ </div>
987
+ </div>
988
+ <div class="tags">
989
+
990
+ </div><table class="source_code">
991
+ <tr>
992
+ <td>
993
+ <pre class="lines">
994
+
995
+
996
+ 11
997
+ 12
998
+ 13</pre>
999
+ </td>
1000
+ <td>
1001
+ <pre class="code"><span class="info file"># File 'lib/models/tenpay.rb', line 11</span>
1002
+
1003
+ <span class='def def kw'>def</span> <span class='purchaser_id identifier id'>purchaser_id</span>
1004
+ <span class='@purchaser_id ivar id'>@purchaser_id</span>
1005
+ <span class='end end kw'>end</span>
1006
+ </pre>
1007
+ </td>
1008
+ </tr>
1009
+ </table>
1010
+ </div>
1011
+
1012
+
1013
+ <span id="return_url=-instance_method"></span>
1014
+ <span id="return_url-instance_method"></span>
1015
+ <div class="method_details ">
1016
+ <p class="signature " id="return_url-instance_method">
1017
+
1018
+ - (<tt>Object</tt>) <strong>return_url</strong>
1019
+
1020
+
1021
+
1022
+ </p><div class="docstring">
1023
+ <div class="discussion">
1024
+ <p>
1025
+ Returns the value of attribute return_url
1026
+ </p>
1027
+
1028
+
1029
+ </div>
1030
+ </div>
1031
+ <div class="tags">
1032
+
1033
+ </div><table class="source_code">
1034
+ <tr>
1035
+ <td>
1036
+ <pre class="lines">
1037
+
1038
+
1039
+ 13
1040
+ 14
1041
+ 15</pre>
1042
+ </td>
1043
+ <td>
1044
+ <pre class="code"><span class="info file"># File 'lib/models/tenpay.rb', line 13</span>
1045
+
1046
+ <span class='def def kw'>def</span> <span class='return_url identifier id'>return_url</span>
1047
+ <span class='@return_url ivar id'>@return_url</span>
1048
+ <span class='end end kw'>end</span>
1049
+ </pre>
1050
+ </td>
1051
+ </tr>
1052
+ </table>
1053
+ </div>
1054
+
1055
+
1056
+ <span id="sign=-instance_method"></span>
1057
+ <span id="sign-instance_method"></span>
1058
+ <div class="method_details ">
1059
+ <p class="signature " id="sign-instance_method">
1060
+
1061
+ - (<tt>Object</tt>) <strong>sign</strong>
1062
+
1063
+
1064
+
1065
+ </p><div class="docstring">
1066
+ <div class="discussion">
1067
+ <p>
1068
+ Returns the value of attribute sign
1069
+ </p>
1070
+
1071
+
1072
+ </div>
1073
+ </div>
1074
+ <div class="tags">
1075
+
1076
+ </div><table class="source_code">
1077
+ <tr>
1078
+ <td>
1079
+ <pre class="lines">
1080
+
1081
+
1082
+ 13
1083
+ 14
1084
+ 15</pre>
1085
+ </td>
1086
+ <td>
1087
+ <pre class="code"><span class="info file"># File 'lib/models/tenpay.rb', line 13</span>
1088
+
1089
+ <span class='def def kw'>def</span> <span class='sign identifier id'>sign</span>
1090
+ <span class='@sign ivar id'>@sign</span>
1091
+ <span class='end end kw'>end</span>
1092
+ </pre>
1093
+ </td>
1094
+ </tr>
1095
+ </table>
1096
+ </div>
1097
+
1098
+
1099
+ <span id="sp_billno=-instance_method"></span>
1100
+ <span id="sp_billno-instance_method"></span>
1101
+ <div class="method_details ">
1102
+ <p class="signature " id="sp_billno-instance_method">
1103
+
1104
+ - (<tt>Object</tt>) <strong>sp_billno</strong>
1105
+
1106
+
1107
+
1108
+ </p><div class="docstring">
1109
+ <div class="discussion">
1110
+ <p>
1111
+ Returns the value of attribute sp_billno
1112
+ </p>
1113
+
1114
+
1115
+ </div>
1116
+ </div>
1117
+ <div class="tags">
1118
+
1119
+ </div><table class="source_code">
1120
+ <tr>
1121
+ <td>
1122
+ <pre class="lines">
1123
+
1124
+
1125
+ 11
1126
+ 12
1127
+ 13</pre>
1128
+ </td>
1129
+ <td>
1130
+ <pre class="code"><span class="info file"># File 'lib/models/tenpay.rb', line 11</span>
1131
+
1132
+ <span class='def def kw'>def</span> <span class='sp_billno identifier id'>sp_billno</span>
1133
+ <span class='@sp_billno ivar id'>@sp_billno</span>
1134
+ <span class='end end kw'>end</span>
1135
+ </pre>
1136
+ </td>
1137
+ </tr>
1138
+ </table>
1139
+ </div>
1140
+
1141
+
1142
+ <span id="spbill_create_ip=-instance_method"></span>
1143
+ <span id="spbill_create_ip-instance_method"></span>
1144
+ <div class="method_details ">
1145
+ <p class="signature " id="spbill_create_ip-instance_method">
1146
+
1147
+ - (<tt>Object</tt>) <strong>spbill_create_ip</strong>
1148
+
1149
+
1150
+
1151
+ </p><div class="docstring">
1152
+ <div class="discussion">
1153
+ <p>
1154
+ Returns the value of attribute spbill_create_ip
1155
+ </p>
1156
+
1157
+
1158
+ </div>
1159
+ </div>
1160
+ <div class="tags">
1161
+
1162
+ </div><table class="source_code">
1163
+ <tr>
1164
+ <td>
1165
+ <pre class="lines">
1166
+
1167
+
1168
+ 13
1169
+ 14
1170
+ 15</pre>
1171
+ </td>
1172
+ <td>
1173
+ <pre class="code"><span class="info file"># File 'lib/models/tenpay.rb', line 13</span>
1174
+
1175
+ <span class='def def kw'>def</span> <span class='spbill_create_ip identifier id'>spbill_create_ip</span>
1176
+ <span class='@spbill_create_ip ivar id'>@spbill_create_ip</span>
1177
+ <span class='end end kw'>end</span>
1178
+ </pre>
1179
+ </td>
1180
+ </tr>
1181
+ </table>
1182
+ </div>
1183
+
1184
+
1185
+ <span id="total_fee=-instance_method"></span>
1186
+ <span id="total_fee-instance_method"></span>
1187
+ <div class="method_details ">
1188
+ <p class="signature " id="total_fee-instance_method">
1189
+
1190
+ - (<tt>Object</tt>) <strong>total_fee</strong>
1191
+
1192
+
1193
+
1194
+ </p><div class="docstring">
1195
+ <div class="discussion">
1196
+ <p>
1197
+ Returns the value of attribute total_fee
1198
+ </p>
1199
+
1200
+
1201
+ </div>
1202
+ </div>
1203
+ <div class="tags">
1204
+
1205
+ </div><table class="source_code">
1206
+ <tr>
1207
+ <td>
1208
+ <pre class="lines">
1209
+
1210
+
1211
+ 13
1212
+ 14
1213
+ 15</pre>
1214
+ </td>
1215
+ <td>
1216
+ <pre class="code"><span class="info file"># File 'lib/models/tenpay.rb', line 13</span>
1217
+
1218
+ <span class='def def kw'>def</span> <span class='total_fee identifier id'>total_fee</span>
1219
+ <span class='@total_fee ivar id'>@total_fee</span>
1220
+ <span class='end end kw'>end</span>
1221
+ </pre>
1222
+ </td>
1223
+ </tr>
1224
+ </table>
1225
+ </div>
1226
+
1227
+
1228
+ <span id="transaction_id=-instance_method"></span>
1229
+ <span id="transaction_id-instance_method"></span>
1230
+ <div class="method_details ">
1231
+ <p class="signature " id="transaction_id-instance_method">
1232
+
1233
+ - (<tt>Object</tt>) <strong>transaction_id</strong>
1234
+
1235
+
1236
+
1237
+ </p><div class="docstring">
1238
+ <div class="discussion">
1239
+ <p>
1240
+ Returns the value of attribute transaction_id
1241
+ </p>
1242
+
1243
+
1244
+ </div>
1245
+ </div>
1246
+ <div class="tags">
1247
+
1248
+ </div><table class="source_code">
1249
+ <tr>
1250
+ <td>
1251
+ <pre class="lines">
1252
+
1253
+
1254
+ 11
1255
+ 12
1256
+ 13</pre>
1257
+ </td>
1258
+ <td>
1259
+ <pre class="code"><span class="info file"># File 'lib/models/tenpay.rb', line 11</span>
1260
+
1261
+ <span class='def def kw'>def</span> <span class='transaction_id identifier id'>transaction_id</span>
1262
+ <span class='@transaction_id ivar id'>@transaction_id</span>
1263
+ <span class='end end kw'>end</span>
1264
+ </pre>
1265
+ </td>
1266
+ </tr>
1267
+ </table>
1268
+ </div>
1269
+
1270
+ </div>
1271
+
1272
+
1273
+ <div id="instance_method_details" class="method_details_list">
1274
+ <h2>Instance Method Details</h2>
1275
+
1276
+
1277
+ <div class="method_details first">
1278
+ <p class="signature first" id="invalid_request_sign?-instance_method">
1279
+
1280
+ - (<tt>Boolean</tt>) <strong>invalid_request_sign?</strong>
1281
+
1282
+
1283
+
1284
+ </p><div class="docstring">
1285
+ <div class="discussion">
1286
+
1287
+
1288
+ </div>
1289
+ </div>
1290
+ <div class="tags">
1291
+ <h3>Returns:</h3>
1292
+ <ul class="return">
1293
+
1294
+ <li>
1295
+
1296
+ <span class='type'>(<tt>Boolean</tt>)</span>
1297
+
1298
+
1299
+
1300
+
1301
+ </li>
1302
+
1303
+ </ul>
1304
+
1305
+ </div><table class="source_code">
1306
+ <tr>
1307
+ <td>
1308
+ <pre class="lines">
1309
+
1310
+
1311
+ 43
1312
+ 44
1313
+ 45
1314
+ 46
1315
+ 47
1316
+ 48</pre>
1317
+ </td>
1318
+ <td>
1319
+ <pre class="code"><span class="info file"># File 'lib/models/tenpay.rb', line 43</span>
1320
+
1321
+ <span class='def def kw'>def</span> <span class='invalid_request_sign? fid id'>invalid_request_sign?</span>
1322
+ <span class='text identifier id'>text</span> <span class='assign token'>=</span> <span class='dstring node'>%w(cmdno date bargainor_id transaction_id sp_billno total_fee fee_type return_url attach spbill_create_ip )</span><span class='dot token'>.</span><span class='map identifier id'>map</span><span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='attr identifier id'>attr</span><span class='bitor op'>|</span>
1323
+ <span class='dstring node'>&quot;#{attr}=#{@attributes[attr]}&quot;</span> <span class='unless unless_mod kw'>unless</span> <span class='@attributes ivar id'>@attributes</span><span class='lbrack token'>[</span><span class='attr identifier id'>attr</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='blank? fid id'>blank?</span>
1324
+ <span class='rbrace token'>}</span><span class='dot token'>.</span><span class='join identifier id'>join</span><span class='lparen token'>(</span><span class='string val'>&quot;&amp;&quot;</span><span class='rparen token'>)</span> <span class='plus op'>+</span> <span class='string val'>&quot;&amp;key=&quot;</span> <span class='plus op'>+</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='key identifier id'>key</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span>
1325
+ <span class='Digest constant id'>Digest</span><span class='colon2 op'>::</span><span class='MD5 constant id'>MD5</span><span class='dot token'>.</span><span class='hexdigest identifier id'>hexdigest</span><span class='lparen token'>(</span><span class='text identifier id'>text</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='upcase identifier id'>upcase</span> <span class='neq op'>!=</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='sign identifier id'>sign</span> <span class='integer val'>? </span><span class='true true kw'>true</span> <span class='colon op'>:</span> <span class='false false kw'>false</span>
1326
+ <span class='end end kw'>end</span>
1327
+ </pre>
1328
+ </td>
1329
+ </tr>
1330
+ </table>
1331
+ </div>
1332
+
1333
+ <div class="method_details ">
1334
+ <p class="signature " id="notify-instance_method">
1335
+
1336
+ - (<tt>Object</tt>) <strong>notify</strong>
1337
+
1338
+
1339
+
1340
+ </p><table class="source_code">
1341
+ <tr>
1342
+ <td>
1343
+ <pre class="lines">
1344
+
1345
+
1346
+ 65
1347
+ 66
1348
+ 67
1349
+ 68
1350
+ 69
1351
+ 70
1352
+ 71
1353
+ 72
1354
+ 73
1355
+ 74
1356
+ 75
1357
+ 76</pre>
1358
+ </td>
1359
+ <td>
1360
+ <pre class="code"><span class="info file"># File 'lib/models/tenpay.rb', line 65</span>
1361
+
1362
+ <span class='def def kw'>def</span> <span class='notify identifier id'>notify</span>
1363
+ <span class='@notify ivar id'>@notify</span> <span class='opasgn op'>||=</span> <span class='lbrace token'>{</span> <span class='string val'>&quot;cmdno&quot;</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='cmdno identifier id'>cmdno</span><span class='comma token'>,</span>
1364
+ <span class='string val'>&quot;pay_result&quot;</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='pay_result identifier id'>pay_result</span><span class='comma token'>,</span>
1365
+ <span class='string val'>&quot;date&quot;</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='date identifier id'>date</span><span class='comma token'>,</span>
1366
+ <span class='string val'>&quot;transaction_id&quot;</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='transaction_id identifier id'>transaction_id</span><span class='comma token'>,</span>
1367
+ <span class='string val'>&quot;sp_billno&quot;</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='sp_billno identifier id'>sp_billno</span><span class='comma token'>,</span>
1368
+ <span class='string val'>&quot;total_fee&quot;</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='total_fee identifier id'>total_fee</span><span class='comma token'>,</span>
1369
+ <span class='string val'>&quot;fee_type&quot;</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='fee_type identifier id'>fee_type</span><span class='comma token'>,</span>
1370
+ <span class='string val'>&quot;attach&quot;</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='attach identifier id'>attach</span><span class='comma token'>,</span>
1371
+ <span class='string val'>&quot;sign&quot;</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='notify_sign identifier id'>notify_sign</span>
1372
+ <span class='rbrace token'>}</span>
1373
+ <span class='end end kw'>end</span>
1374
+ </pre>
1375
+ </td>
1376
+ </tr>
1377
+ </table>
1378
+ </div>
1379
+
1380
+ <div class="method_details ">
1381
+ <p class="signature " id="notify_sign-instance_method">
1382
+
1383
+ - (<tt>Object</tt>) <strong>notify_sign</strong>
1384
+
1385
+
1386
+
1387
+ </p><table class="source_code">
1388
+ <tr>
1389
+ <td>
1390
+ <pre class="lines">
1391
+
1392
+
1393
+ 54
1394
+ 55
1395
+ 56
1396
+ 57
1397
+ 58
1398
+ 59</pre>
1399
+ </td>
1400
+ <td>
1401
+ <pre class="code"><span class="info file"># File 'lib/models/tenpay.rb', line 54</span>
1402
+
1403
+ <span class='def def kw'>def</span> <span class='notify_sign identifier id'>notify_sign</span>
1404
+ <span class='text identifier id'>text</span> <span class='assign token'>=</span> <span class='dstring node'>%w(cmdno pay_result date transaction_id sp_billno total_fee fee_type attach)</span><span class='dot token'>.</span><span class='map identifier id'>map</span><span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='attr identifier id'>attr</span><span class='bitor op'>|</span>
1405
+ <span class='dstring node'>&quot;#{attr}=#{self.send(attr)}&quot;</span>
1406
+ <span class='rbrace token'>}</span><span class='dot token'>.</span><span class='join identifier id'>join</span><span class='lparen token'>(</span><span class='string val'>&quot;&amp;&quot;</span><span class='rparen token'>)</span> <span class='plus op'>+</span> <span class='string val'>&quot;&amp;key=&quot;</span> <span class='plus op'>+</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='key identifier id'>key</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span>
1407
+ <span class='Digest constant id'>Digest</span><span class='colon2 op'>::</span><span class='MD5 constant id'>MD5</span><span class='dot token'>.</span><span class='hexdigest identifier id'>hexdigest</span><span class='lparen token'>(</span><span class='text identifier id'>text</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='upcase identifier id'>upcase</span>
1408
+ <span class='end end kw'>end</span>
1409
+ </pre>
1410
+ </td>
1411
+ </tr>
1412
+ </table>
1413
+ </div>
1414
+
1415
+ <div class="method_details ">
1416
+ <p class="signature " id="notify_string-instance_method">
1417
+
1418
+ - (<tt>Object</tt>) <strong>notify_string</strong>
1419
+
1420
+
1421
+
1422
+ </p><table class="source_code">
1423
+ <tr>
1424
+ <td>
1425
+ <pre class="lines">
1426
+
1427
+
1428
+ 78
1429
+ 79
1430
+ 80</pre>
1431
+ </td>
1432
+ <td>
1433
+ <pre class="code"><span class="info file"># File 'lib/models/tenpay.rb', line 78</span>
1434
+
1435
+ <span class='def def kw'>def</span> <span class='notify_string identifier id'>notify_string</span>
1436
+ <span class='@n_str ivar id'>@n_str</span> <span class='opasgn op'>||=</span> <span class='notify identifier id'>notify</span><span class='dot token'>.</span><span class='map identifier id'>map</span><span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='kv identifier id'>kv</span><span class='bitor op'>|</span> <span class='string val'>&quot;%s=%s&quot;</span> <span class='mod op'>%</span> <span class='kv identifier id'>kv</span> <span class='rbrace token'>}</span><span class='dot token'>.</span><span class='join identifier id'>join</span><span class='lparen token'>(</span><span class='string val'>&quot;&amp;&quot;</span><span class='rparen token'>)</span>
1437
+ <span class='end end kw'>end</span>
1438
+ </pre>
1439
+ </td>
1440
+ </tr>
1441
+ </table>
1442
+ </div>
1443
+
1444
+ <div class="method_details ">
1445
+ <p class="signature " id="notify_url-instance_method">
1446
+
1447
+ - (<tt>Object</tt>) <strong>notify_url</strong>
1448
+
1449
+
1450
+
1451
+ </p><table class="source_code">
1452
+ <tr>
1453
+ <td>
1454
+ <pre class="lines">
1455
+
1456
+
1457
+ 61
1458
+ 62
1459
+ 63</pre>
1460
+ </td>
1461
+ <td>
1462
+ <pre class="code"><span class="info file"># File 'lib/models/tenpay.rb', line 61</span>
1463
+
1464
+ <span class='def def kw'>def</span> <span class='notify_url identifier id'>notify_url</span>
1465
+ <span class='self self kw'>self</span><span class='dot token'>.</span><span class='return_url identifier id'>return_url</span>
1466
+ <span class='end end kw'>end</span>
1467
+ </pre>
1468
+ </td>
1469
+ </tr>
1470
+ </table>
1471
+ </div>
1472
+
1473
+ <div class="method_details ">
1474
+ <p class="signature " id="partner-instance_method">
1475
+
1476
+ - (<tt>Object</tt>) <strong>partner</strong>
1477
+
1478
+
1479
+
1480
+ </p><table class="source_code">
1481
+ <tr>
1482
+ <td>
1483
+ <pre class="lines">
1484
+
1485
+
1486
+ 50
1487
+ 51
1488
+ 52</pre>
1489
+ </td>
1490
+ <td>
1491
+ <pre class="code"><span class="info file"># File 'lib/models/tenpay.rb', line 50</span>
1492
+
1493
+ <span class='def def kw'>def</span> <span class='partner identifier id'>partner</span>
1494
+ <span class='self self kw'>self</span><span class='dot token'>.</span><span class='bargainor_id identifier id'>bargainor_id</span>
1495
+ <span class='end end kw'>end</span>
1496
+ </pre>
1497
+ </td>
1498
+ </tr>
1499
+ </table>
1500
+ </div>
1501
+
1502
+ <div class="method_details ">
1503
+ <p class="signature " id="pay_result-instance_method">
1504
+
1505
+ - (<tt>Object</tt>) <strong>pay_result</strong>
1506
+
1507
+
1508
+
1509
+ </p><table class="source_code">
1510
+ <tr>
1511
+ <td>
1512
+ <pre class="lines">
1513
+
1514
+
1515
+ 82
1516
+ 83
1517
+ 84</pre>
1518
+ </td>
1519
+ <td>
1520
+ <pre class="code"><span class="info file"># File 'lib/models/tenpay.rb', line 82</span>
1521
+
1522
+ <span class='def def kw'>def</span> <span class='pay_result identifier id'>pay_result</span>
1523
+ <span class='@pay_result ivar id'>@pay_result</span> <span class='opasgn op'>||=</span> <span class='string val'>&quot;0&quot;</span>
1524
+ <span class='end end kw'>end</span>
1525
+ </pre>
1526
+ </td>
1527
+ </tr>
1528
+ </table>
1529
+ </div>
1530
+
1531
+ </div>
1532
+
1533
+ </div>
1534
+
1535
+ <div id="footer">
1536
+ Generated on Mon Nov 8 16:21:45 2010 by
1537
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1538
+ 0.6.1 (ruby-1.8.7).
1539
+ </div>
1540
+
1541
+ </body>
1542
+ </html>