magpie 0.8.8 → 0.8.8.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.
- data/README.md +2 -0
- data/Rakefile +1 -1
- data/doc/Magpie.html +360 -0
- data/doc/Magpie/Alipay.html +257 -0
- data/doc/Magpie/AlipayModel.html +1770 -0
- data/doc/Magpie/Chinabank.html +257 -0
- data/doc/Magpie/ChinabankModel.html +1030 -0
- data/doc/Magpie/Dung.html +673 -0
- data/doc/Magpie/Goose.html +420 -0
- data/doc/Magpie/Goose/ClassMethods.html +467 -0
- data/doc/Magpie/Mothlog.html +239 -0
- data/doc/Magpie/Mouse.html +363 -0
- data/doc/Magpie/Mouse/ClassMethods.html +225 -0
- data/doc/Magpie/Mouse/MouseError.html +100 -0
- data/doc/Magpie/Rubber.html +160 -0
- data/doc/Magpie/Server.html +253 -0
- data/doc/Magpie/Server/Options.html +261 -0
- data/doc/Magpie/Snake.html +744 -0
- data/doc/Magpie/Tenpay.html +259 -0
- data/doc/Magpie/TenpayModel.html +1542 -0
- data/doc/Magpie/Utils.html +888 -0
- data/doc/_index.html +295 -0
- data/doc/class_list.html +36 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +53 -0
- data/doc/css/style.css +307 -0
- data/doc/file.README.html +239 -0
- data/doc/file_list.html +38 -0
- data/doc/frames.html +13 -0
- data/doc/index.html +239 -0
- data/doc/js/app.js +202 -0
- data/doc/js/full_list.js +149 -0
- data/doc/js/jquery.js +154 -0
- data/doc/method_list.html +1003 -0
- data/doc/top-level-namespace.html +88 -0
- data/lib/apps.rb +1 -1
- data/lib/magpie.rb +1 -1
- data/lib/magpie/server.rb +2 -0
- data/magpie.gemspec +43 -1
- data/static/images/error.gif +0 -0
- data/static/images/q2.gif +0 -0
- data/test/test.log +2182 -0
- metadata +39 -3
@@ -0,0 +1,1770 @@
|
|
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::AlipayModel</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 (A)</a> »
|
27
|
+
<span class='title'><span class='object_link'><a href="../Magpie.html" title="Magpie (module)">Magpie</a></span></span>
|
28
|
+
»
|
29
|
+
<span class="title">AlipayModel</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::AlipayModel
|
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::AlipayModel</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/alipay.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="#_input_charset-instance_method" title="#_input_charset (instance method)">- (Object) <strong>_input_charset</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 _input_charset.
|
120
|
+
</p>
|
121
|
+
</div></span>
|
122
|
+
|
123
|
+
</li>
|
124
|
+
|
125
|
+
|
126
|
+
<li class="public ">
|
127
|
+
<span class="summary_signature">
|
128
|
+
|
129
|
+
<a href="#body-instance_method" title="#body (instance method)">- (Object) <strong>body</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 body.
|
147
|
+
</p>
|
148
|
+
</div></span>
|
149
|
+
|
150
|
+
</li>
|
151
|
+
|
152
|
+
|
153
|
+
<li class="public ">
|
154
|
+
<span class="summary_signature">
|
155
|
+
|
156
|
+
<a href="#notify_url-instance_method" title="#notify_url (instance method)">- (Object) <strong>notify_url</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 notify_url.
|
174
|
+
</p>
|
175
|
+
</div></span>
|
176
|
+
|
177
|
+
</li>
|
178
|
+
|
179
|
+
|
180
|
+
<li class="public ">
|
181
|
+
<span class="summary_signature">
|
182
|
+
|
183
|
+
<a href="#out_trade_no-instance_method" title="#out_trade_no (instance method)">- (Object) <strong>out_trade_no</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 out_trade_no.
|
201
|
+
</p>
|
202
|
+
</div></span>
|
203
|
+
|
204
|
+
</li>
|
205
|
+
|
206
|
+
|
207
|
+
<li class="public ">
|
208
|
+
<span class="summary_signature">
|
209
|
+
|
210
|
+
<a href="#partner-instance_method" title="#partner (instance method)">- (Object) <strong>partner</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 partner.
|
228
|
+
</p>
|
229
|
+
</div></span>
|
230
|
+
|
231
|
+
</li>
|
232
|
+
|
233
|
+
|
234
|
+
<li class="public ">
|
235
|
+
<span class="summary_signature">
|
236
|
+
|
237
|
+
<a href="#payment_type-instance_method" title="#payment_type (instance method)">- (Object) <strong>payment_type</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 payment_type.
|
255
|
+
</p>
|
256
|
+
</div></span>
|
257
|
+
|
258
|
+
</li>
|
259
|
+
|
260
|
+
|
261
|
+
<li class="public ">
|
262
|
+
<span class="summary_signature">
|
263
|
+
|
264
|
+
<a href="#price-instance_method" title="#price (instance method)">- (Object) <strong>price</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 price.
|
282
|
+
</p>
|
283
|
+
</div></span>
|
284
|
+
|
285
|
+
</li>
|
286
|
+
|
287
|
+
|
288
|
+
<li class="public ">
|
289
|
+
<span class="summary_signature">
|
290
|
+
|
291
|
+
<a href="#quantity-instance_method" title="#quantity (instance method)">- (Object) <strong>quantity</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 quantity.
|
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="#seller_email-instance_method" title="#seller_email (instance method)">- (Object) <strong>seller_email</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 seller_email.
|
363
|
+
</p>
|
364
|
+
</div></span>
|
365
|
+
|
366
|
+
</li>
|
367
|
+
|
368
|
+
|
369
|
+
<li class="public ">
|
370
|
+
<span class="summary_signature">
|
371
|
+
|
372
|
+
<a href="#seller_id-instance_method" title="#seller_id (instance method)">- (Object) <strong>seller_id</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 seller_id.
|
390
|
+
</p>
|
391
|
+
</div></span>
|
392
|
+
|
393
|
+
</li>
|
394
|
+
|
395
|
+
|
396
|
+
<li class="public ">
|
397
|
+
<span class="summary_signature">
|
398
|
+
|
399
|
+
<a href="#service-instance_method" title="#service (instance method)">- (Object) <strong>service</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 service.
|
417
|
+
</p>
|
418
|
+
</div></span>
|
419
|
+
|
420
|
+
</li>
|
421
|
+
|
422
|
+
|
423
|
+
<li class="public ">
|
424
|
+
<span class="summary_signature">
|
425
|
+
|
426
|
+
<a href="#show_url-instance_method" title="#show_url (instance method)">- (Object) <strong>show_url</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 show_url.
|
444
|
+
</p>
|
445
|
+
</div></span>
|
446
|
+
|
447
|
+
</li>
|
448
|
+
|
449
|
+
|
450
|
+
<li class="public ">
|
451
|
+
<span class="summary_signature">
|
452
|
+
|
453
|
+
<a href="#sign-instance_method" title="#sign (instance method)">- (Object) <strong>sign</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 sign.
|
471
|
+
</p>
|
472
|
+
</div></span>
|
473
|
+
|
474
|
+
</li>
|
475
|
+
|
476
|
+
|
477
|
+
<li class="public ">
|
478
|
+
<span class="summary_signature">
|
479
|
+
|
480
|
+
<a href="#sign_type-instance_method" title="#sign_type (instance method)">- (Object) <strong>sign_type</strong> </a>
|
481
|
+
|
482
|
+
|
483
|
+
|
484
|
+
</span>
|
485
|
+
|
486
|
+
|
487
|
+
|
488
|
+
|
489
|
+
|
490
|
+
|
491
|
+
|
492
|
+
|
493
|
+
|
494
|
+
|
495
|
+
|
496
|
+
<span class="summary_desc"><div class='inline'><p>
|
497
|
+
Returns the value of attribute sign_type.
|
498
|
+
</p>
|
499
|
+
</div></span>
|
500
|
+
|
501
|
+
</li>
|
502
|
+
|
503
|
+
|
504
|
+
<li class="public ">
|
505
|
+
<span class="summary_signature">
|
506
|
+
|
507
|
+
<a href="#subject-instance_method" title="#subject (instance method)">- (Object) <strong>subject</strong> </a>
|
508
|
+
|
509
|
+
|
510
|
+
|
511
|
+
</span>
|
512
|
+
|
513
|
+
|
514
|
+
|
515
|
+
|
516
|
+
|
517
|
+
|
518
|
+
|
519
|
+
|
520
|
+
|
521
|
+
|
522
|
+
|
523
|
+
<span class="summary_desc"><div class='inline'><p>
|
524
|
+
Returns the value of attribute subject.
|
525
|
+
</p>
|
526
|
+
</div></span>
|
527
|
+
|
528
|
+
</li>
|
529
|
+
|
530
|
+
|
531
|
+
<li class="public ">
|
532
|
+
<span class="summary_signature">
|
533
|
+
|
534
|
+
<a href="#total_fee-instance_method" title="#total_fee (instance method)">- (Object) <strong>total_fee</strong> </a>
|
535
|
+
|
536
|
+
|
537
|
+
|
538
|
+
</span>
|
539
|
+
|
540
|
+
|
541
|
+
|
542
|
+
|
543
|
+
|
544
|
+
|
545
|
+
|
546
|
+
|
547
|
+
|
548
|
+
|
549
|
+
|
550
|
+
<span class="summary_desc"><div class='inline'><p>
|
551
|
+
Returns the value of attribute total_fee.
|
552
|
+
</p>
|
553
|
+
</div></span>
|
554
|
+
|
555
|
+
</li>
|
556
|
+
|
557
|
+
|
558
|
+
</ul>
|
559
|
+
|
560
|
+
|
561
|
+
|
562
|
+
<h2>
|
563
|
+
Instance Method Summary
|
564
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
565
|
+
</h2>
|
566
|
+
|
567
|
+
<ul class="summary">
|
568
|
+
|
569
|
+
<li class="public ">
|
570
|
+
<span class="summary_signature">
|
571
|
+
|
572
|
+
<a href="#invalid_sign%3F-instance_method" title="#invalid_sign? (instance method)">- (Boolean) <strong>invalid_sign?</strong> </a>
|
573
|
+
|
574
|
+
|
575
|
+
|
576
|
+
</span>
|
577
|
+
|
578
|
+
|
579
|
+
|
580
|
+
|
581
|
+
|
582
|
+
|
583
|
+
|
584
|
+
|
585
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
586
|
+
|
587
|
+
</li>
|
588
|
+
|
589
|
+
|
590
|
+
<li class="public ">
|
591
|
+
<span class="summary_signature">
|
592
|
+
|
593
|
+
<a href="#money_blank%3F-instance_method" title="#money_blank? (instance method)">- (Boolean) <strong>money_blank?</strong> </a>
|
594
|
+
|
595
|
+
|
596
|
+
|
597
|
+
</span>
|
598
|
+
|
599
|
+
|
600
|
+
|
601
|
+
|
602
|
+
|
603
|
+
|
604
|
+
|
605
|
+
|
606
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
607
|
+
|
608
|
+
</li>
|
609
|
+
|
610
|
+
|
611
|
+
<li class="public ">
|
612
|
+
<span class="summary_signature">
|
613
|
+
|
614
|
+
<a href="#notify-instance_method" title="#notify (instance method)">- (Object) <strong>notify</strong> </a>
|
615
|
+
|
616
|
+
|
617
|
+
|
618
|
+
</span>
|
619
|
+
|
620
|
+
|
621
|
+
|
622
|
+
|
623
|
+
|
624
|
+
|
625
|
+
|
626
|
+
|
627
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
628
|
+
|
629
|
+
</li>
|
630
|
+
|
631
|
+
|
632
|
+
<li class="public ">
|
633
|
+
<span class="summary_signature">
|
634
|
+
|
635
|
+
<a href="#price_missing_quantity%3F-instance_method" title="#price_missing_quantity? (instance method)">- (Boolean) <strong>price_missing_quantity?</strong> </a>
|
636
|
+
|
637
|
+
|
638
|
+
|
639
|
+
</span>
|
640
|
+
|
641
|
+
|
642
|
+
|
643
|
+
|
644
|
+
|
645
|
+
|
646
|
+
|
647
|
+
|
648
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
649
|
+
|
650
|
+
</li>
|
651
|
+
|
652
|
+
|
653
|
+
<li class="public ">
|
654
|
+
<span class="summary_signature">
|
655
|
+
|
656
|
+
<a href="#repeat_money%3F-instance_method" title="#repeat_money? (instance method)">- (Boolean) <strong>repeat_money?</strong> </a>
|
657
|
+
|
658
|
+
|
659
|
+
|
660
|
+
</span>
|
661
|
+
|
662
|
+
|
663
|
+
|
664
|
+
|
665
|
+
|
666
|
+
|
667
|
+
|
668
|
+
|
669
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
670
|
+
|
671
|
+
</li>
|
672
|
+
|
673
|
+
|
674
|
+
<li class="public ">
|
675
|
+
<span class="summary_signature">
|
676
|
+
|
677
|
+
<a href="#seller_blank%3F-instance_method" title="#seller_blank? (instance method)">- (Boolean) <strong>seller_blank?</strong> </a>
|
678
|
+
|
679
|
+
|
680
|
+
|
681
|
+
</span>
|
682
|
+
|
683
|
+
|
684
|
+
|
685
|
+
|
686
|
+
|
687
|
+
|
688
|
+
|
689
|
+
|
690
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
691
|
+
|
692
|
+
</li>
|
693
|
+
|
694
|
+
|
695
|
+
</ul>
|
696
|
+
|
697
|
+
|
698
|
+
|
699
|
+
|
700
|
+
|
701
|
+
|
702
|
+
|
703
|
+
|
704
|
+
|
705
|
+
|
706
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="Mouse.html" title="Magpie::Mouse (module)">Mouse</a></span></h3>
|
707
|
+
<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>
|
708
|
+
|
709
|
+
|
710
|
+
|
711
|
+
|
712
|
+
|
713
|
+
|
714
|
+
|
715
|
+
|
716
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="Goose.html" title="Magpie::Goose (module)">Goose</a></span></h3>
|
717
|
+
<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>
|
718
|
+
<div id="constructor_details" class="method_details_list">
|
719
|
+
<h2>Constructor Details</h2>
|
720
|
+
|
721
|
+
<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>
|
722
|
+
|
723
|
+
</div>
|
724
|
+
|
725
|
+
<div id="instance_attr_details" class="attr_details">
|
726
|
+
<h2>Instance Attribute Details</h2>
|
727
|
+
|
728
|
+
|
729
|
+
<span id="_input_charset=-instance_method"></span>
|
730
|
+
<span id="_input_charset-instance_method"></span>
|
731
|
+
<div class="method_details first">
|
732
|
+
<p class="signature first" id="_input_charset-instance_method">
|
733
|
+
|
734
|
+
- (<tt>Object</tt>) <strong>_input_charset</strong>
|
735
|
+
|
736
|
+
|
737
|
+
|
738
|
+
</p><div class="docstring">
|
739
|
+
<div class="discussion">
|
740
|
+
<p>
|
741
|
+
Returns the value of attribute _input_charset
|
742
|
+
</p>
|
743
|
+
|
744
|
+
|
745
|
+
</div>
|
746
|
+
</div>
|
747
|
+
<div class="tags">
|
748
|
+
|
749
|
+
</div><table class="source_code">
|
750
|
+
<tr>
|
751
|
+
<td>
|
752
|
+
<pre class="lines">
|
753
|
+
|
754
|
+
|
755
|
+
16
|
756
|
+
17
|
757
|
+
18</pre>
|
758
|
+
</td>
|
759
|
+
<td>
|
760
|
+
<pre class="code"><span class="info file"># File 'lib/models/alipay.rb', line 16</span>
|
761
|
+
|
762
|
+
<span class='def def kw'>def</span> <span class='_input_charset identifier id'>_input_charset</span>
|
763
|
+
<span class='@_input_charset ivar id'>@_input_charset</span>
|
764
|
+
<span class='end end kw'>end</span>
|
765
|
+
</pre>
|
766
|
+
</td>
|
767
|
+
</tr>
|
768
|
+
</table>
|
769
|
+
</div>
|
770
|
+
|
771
|
+
|
772
|
+
<span id="body=-instance_method"></span>
|
773
|
+
<span id="body-instance_method"></span>
|
774
|
+
<div class="method_details ">
|
775
|
+
<p class="signature " id="body-instance_method">
|
776
|
+
|
777
|
+
- (<tt>Object</tt>) <strong>body</strong>
|
778
|
+
|
779
|
+
|
780
|
+
|
781
|
+
</p><div class="docstring">
|
782
|
+
<div class="discussion">
|
783
|
+
<p>
|
784
|
+
Returns the value of attribute body
|
785
|
+
</p>
|
786
|
+
|
787
|
+
|
788
|
+
</div>
|
789
|
+
</div>
|
790
|
+
<div class="tags">
|
791
|
+
|
792
|
+
</div><table class="source_code">
|
793
|
+
<tr>
|
794
|
+
<td>
|
795
|
+
<pre class="lines">
|
796
|
+
|
797
|
+
|
798
|
+
14
|
799
|
+
15
|
800
|
+
16</pre>
|
801
|
+
</td>
|
802
|
+
<td>
|
803
|
+
<pre class="code"><span class="info file"># File 'lib/models/alipay.rb', line 14</span>
|
804
|
+
|
805
|
+
<span class='def def kw'>def</span> <span class='body identifier id'>body</span>
|
806
|
+
<span class='@body ivar id'>@body</span>
|
807
|
+
<span class='end end kw'>end</span>
|
808
|
+
</pre>
|
809
|
+
</td>
|
810
|
+
</tr>
|
811
|
+
</table>
|
812
|
+
</div>
|
813
|
+
|
814
|
+
|
815
|
+
<span id="notify_url=-instance_method"></span>
|
816
|
+
<span id="notify_url-instance_method"></span>
|
817
|
+
<div class="method_details ">
|
818
|
+
<p class="signature " id="notify_url-instance_method">
|
819
|
+
|
820
|
+
- (<tt>Object</tt>) <strong>notify_url</strong>
|
821
|
+
|
822
|
+
|
823
|
+
|
824
|
+
</p><div class="docstring">
|
825
|
+
<div class="discussion">
|
826
|
+
<p>
|
827
|
+
Returns the value of attribute notify_url
|
828
|
+
</p>
|
829
|
+
|
830
|
+
|
831
|
+
</div>
|
832
|
+
</div>
|
833
|
+
<div class="tags">
|
834
|
+
|
835
|
+
</div><table class="source_code">
|
836
|
+
<tr>
|
837
|
+
<td>
|
838
|
+
<pre class="lines">
|
839
|
+
|
840
|
+
|
841
|
+
12
|
842
|
+
13
|
843
|
+
14</pre>
|
844
|
+
</td>
|
845
|
+
<td>
|
846
|
+
<pre class="code"><span class="info file"># File 'lib/models/alipay.rb', line 12</span>
|
847
|
+
|
848
|
+
<span class='def def kw'>def</span> <span class='notify_url identifier id'>notify_url</span>
|
849
|
+
<span class='@notify_url ivar id'>@notify_url</span>
|
850
|
+
<span class='end end kw'>end</span>
|
851
|
+
</pre>
|
852
|
+
</td>
|
853
|
+
</tr>
|
854
|
+
</table>
|
855
|
+
</div>
|
856
|
+
|
857
|
+
|
858
|
+
<span id="out_trade_no=-instance_method"></span>
|
859
|
+
<span id="out_trade_no-instance_method"></span>
|
860
|
+
<div class="method_details ">
|
861
|
+
<p class="signature " id="out_trade_no-instance_method">
|
862
|
+
|
863
|
+
- (<tt>Object</tt>) <strong>out_trade_no</strong>
|
864
|
+
|
865
|
+
|
866
|
+
|
867
|
+
</p><div class="docstring">
|
868
|
+
<div class="discussion">
|
869
|
+
<p>
|
870
|
+
Returns the value of attribute out_trade_no
|
871
|
+
</p>
|
872
|
+
|
873
|
+
|
874
|
+
</div>
|
875
|
+
</div>
|
876
|
+
<div class="tags">
|
877
|
+
|
878
|
+
</div><table class="source_code">
|
879
|
+
<tr>
|
880
|
+
<td>
|
881
|
+
<pre class="lines">
|
882
|
+
|
883
|
+
|
884
|
+
12
|
885
|
+
13
|
886
|
+
14</pre>
|
887
|
+
</td>
|
888
|
+
<td>
|
889
|
+
<pre class="code"><span class="info file"># File 'lib/models/alipay.rb', line 12</span>
|
890
|
+
|
891
|
+
<span class='def def kw'>def</span> <span class='out_trade_no identifier id'>out_trade_no</span>
|
892
|
+
<span class='@out_trade_no ivar id'>@out_trade_no</span>
|
893
|
+
<span class='end end kw'>end</span>
|
894
|
+
</pre>
|
895
|
+
</td>
|
896
|
+
</tr>
|
897
|
+
</table>
|
898
|
+
</div>
|
899
|
+
|
900
|
+
|
901
|
+
<span id="partner=-instance_method"></span>
|
902
|
+
<span id="partner-instance_method"></span>
|
903
|
+
<div class="method_details ">
|
904
|
+
<p class="signature " id="partner-instance_method">
|
905
|
+
|
906
|
+
- (<tt>Object</tt>) <strong>partner</strong>
|
907
|
+
|
908
|
+
|
909
|
+
|
910
|
+
</p><div class="docstring">
|
911
|
+
<div class="discussion">
|
912
|
+
<p>
|
913
|
+
Returns the value of attribute partner
|
914
|
+
</p>
|
915
|
+
|
916
|
+
|
917
|
+
</div>
|
918
|
+
</div>
|
919
|
+
<div class="tags">
|
920
|
+
|
921
|
+
</div><table class="source_code">
|
922
|
+
<tr>
|
923
|
+
<td>
|
924
|
+
<pre class="lines">
|
925
|
+
|
926
|
+
|
927
|
+
12
|
928
|
+
13
|
929
|
+
14</pre>
|
930
|
+
</td>
|
931
|
+
<td>
|
932
|
+
<pre class="code"><span class="info file"># File 'lib/models/alipay.rb', line 12</span>
|
933
|
+
|
934
|
+
<span class='def def kw'>def</span> <span class='partner identifier id'>partner</span>
|
935
|
+
<span class='@partner ivar id'>@partner</span>
|
936
|
+
<span class='end end kw'>end</span>
|
937
|
+
</pre>
|
938
|
+
</td>
|
939
|
+
</tr>
|
940
|
+
</table>
|
941
|
+
</div>
|
942
|
+
|
943
|
+
|
944
|
+
<span id="payment_type=-instance_method"></span>
|
945
|
+
<span id="payment_type-instance_method"></span>
|
946
|
+
<div class="method_details ">
|
947
|
+
<p class="signature " id="payment_type-instance_method">
|
948
|
+
|
949
|
+
- (<tt>Object</tt>) <strong>payment_type</strong>
|
950
|
+
|
951
|
+
|
952
|
+
|
953
|
+
</p><div class="docstring">
|
954
|
+
<div class="discussion">
|
955
|
+
<p>
|
956
|
+
Returns the value of attribute payment_type
|
957
|
+
</p>
|
958
|
+
|
959
|
+
|
960
|
+
</div>
|
961
|
+
</div>
|
962
|
+
<div class="tags">
|
963
|
+
|
964
|
+
</div><table class="source_code">
|
965
|
+
<tr>
|
966
|
+
<td>
|
967
|
+
<pre class="lines">
|
968
|
+
|
969
|
+
|
970
|
+
14
|
971
|
+
15
|
972
|
+
16</pre>
|
973
|
+
</td>
|
974
|
+
<td>
|
975
|
+
<pre class="code"><span class="info file"># File 'lib/models/alipay.rb', line 14</span>
|
976
|
+
|
977
|
+
<span class='def def kw'>def</span> <span class='payment_type identifier id'>payment_type</span>
|
978
|
+
<span class='@payment_type ivar id'>@payment_type</span>
|
979
|
+
<span class='end end kw'>end</span>
|
980
|
+
</pre>
|
981
|
+
</td>
|
982
|
+
</tr>
|
983
|
+
</table>
|
984
|
+
</div>
|
985
|
+
|
986
|
+
|
987
|
+
<span id="price=-instance_method"></span>
|
988
|
+
<span id="price-instance_method"></span>
|
989
|
+
<div class="method_details ">
|
990
|
+
<p class="signature " id="price-instance_method">
|
991
|
+
|
992
|
+
- (<tt>Object</tt>) <strong>price</strong>
|
993
|
+
|
994
|
+
|
995
|
+
|
996
|
+
</p><div class="docstring">
|
997
|
+
<div class="discussion">
|
998
|
+
<p>
|
999
|
+
Returns the value of attribute price
|
1000
|
+
</p>
|
1001
|
+
|
1002
|
+
|
1003
|
+
</div>
|
1004
|
+
</div>
|
1005
|
+
<div class="tags">
|
1006
|
+
|
1007
|
+
</div><table class="source_code">
|
1008
|
+
<tr>
|
1009
|
+
<td>
|
1010
|
+
<pre class="lines">
|
1011
|
+
|
1012
|
+
|
1013
|
+
14
|
1014
|
+
15
|
1015
|
+
16</pre>
|
1016
|
+
</td>
|
1017
|
+
<td>
|
1018
|
+
<pre class="code"><span class="info file"># File 'lib/models/alipay.rb', line 14</span>
|
1019
|
+
|
1020
|
+
<span class='def def kw'>def</span> <span class='price identifier id'>price</span>
|
1021
|
+
<span class='@price ivar id'>@price</span>
|
1022
|
+
<span class='end end kw'>end</span>
|
1023
|
+
</pre>
|
1024
|
+
</td>
|
1025
|
+
</tr>
|
1026
|
+
</table>
|
1027
|
+
</div>
|
1028
|
+
|
1029
|
+
|
1030
|
+
<span id="quantity=-instance_method"></span>
|
1031
|
+
<span id="quantity-instance_method"></span>
|
1032
|
+
<div class="method_details ">
|
1033
|
+
<p class="signature " id="quantity-instance_method">
|
1034
|
+
|
1035
|
+
- (<tt>Object</tt>) <strong>quantity</strong>
|
1036
|
+
|
1037
|
+
|
1038
|
+
|
1039
|
+
</p><div class="docstring">
|
1040
|
+
<div class="discussion">
|
1041
|
+
<p>
|
1042
|
+
Returns the value of attribute quantity
|
1043
|
+
</p>
|
1044
|
+
|
1045
|
+
|
1046
|
+
</div>
|
1047
|
+
</div>
|
1048
|
+
<div class="tags">
|
1049
|
+
|
1050
|
+
</div><table class="source_code">
|
1051
|
+
<tr>
|
1052
|
+
<td>
|
1053
|
+
<pre class="lines">
|
1054
|
+
|
1055
|
+
|
1056
|
+
14
|
1057
|
+
15
|
1058
|
+
16</pre>
|
1059
|
+
</td>
|
1060
|
+
<td>
|
1061
|
+
<pre class="code"><span class="info file"># File 'lib/models/alipay.rb', line 14</span>
|
1062
|
+
|
1063
|
+
<span class='def def kw'>def</span> <span class='quantity identifier id'>quantity</span>
|
1064
|
+
<span class='@quantity ivar id'>@quantity</span>
|
1065
|
+
<span class='end end kw'>end</span>
|
1066
|
+
</pre>
|
1067
|
+
</td>
|
1068
|
+
</tr>
|
1069
|
+
</table>
|
1070
|
+
</div>
|
1071
|
+
|
1072
|
+
|
1073
|
+
<span id="return_url=-instance_method"></span>
|
1074
|
+
<span id="return_url-instance_method"></span>
|
1075
|
+
<div class="method_details ">
|
1076
|
+
<p class="signature " id="return_url-instance_method">
|
1077
|
+
|
1078
|
+
- (<tt>Object</tt>) <strong>return_url</strong>
|
1079
|
+
|
1080
|
+
|
1081
|
+
|
1082
|
+
</p><div class="docstring">
|
1083
|
+
<div class="discussion">
|
1084
|
+
<p>
|
1085
|
+
Returns the value of attribute return_url
|
1086
|
+
</p>
|
1087
|
+
|
1088
|
+
|
1089
|
+
</div>
|
1090
|
+
</div>
|
1091
|
+
<div class="tags">
|
1092
|
+
|
1093
|
+
</div><table class="source_code">
|
1094
|
+
<tr>
|
1095
|
+
<td>
|
1096
|
+
<pre class="lines">
|
1097
|
+
|
1098
|
+
|
1099
|
+
12
|
1100
|
+
13
|
1101
|
+
14</pre>
|
1102
|
+
</td>
|
1103
|
+
<td>
|
1104
|
+
<pre class="code"><span class="info file"># File 'lib/models/alipay.rb', line 12</span>
|
1105
|
+
|
1106
|
+
<span class='def def kw'>def</span> <span class='return_url identifier id'>return_url</span>
|
1107
|
+
<span class='@return_url ivar id'>@return_url</span>
|
1108
|
+
<span class='end end kw'>end</span>
|
1109
|
+
</pre>
|
1110
|
+
</td>
|
1111
|
+
</tr>
|
1112
|
+
</table>
|
1113
|
+
</div>
|
1114
|
+
|
1115
|
+
|
1116
|
+
<span id="seller_email=-instance_method"></span>
|
1117
|
+
<span id="seller_email-instance_method"></span>
|
1118
|
+
<div class="method_details ">
|
1119
|
+
<p class="signature " id="seller_email-instance_method">
|
1120
|
+
|
1121
|
+
- (<tt>Object</tt>) <strong>seller_email</strong>
|
1122
|
+
|
1123
|
+
|
1124
|
+
|
1125
|
+
</p><div class="docstring">
|
1126
|
+
<div class="discussion">
|
1127
|
+
<p>
|
1128
|
+
Returns the value of attribute seller_email
|
1129
|
+
</p>
|
1130
|
+
|
1131
|
+
|
1132
|
+
</div>
|
1133
|
+
</div>
|
1134
|
+
<div class="tags">
|
1135
|
+
|
1136
|
+
</div><table class="source_code">
|
1137
|
+
<tr>
|
1138
|
+
<td>
|
1139
|
+
<pre class="lines">
|
1140
|
+
|
1141
|
+
|
1142
|
+
14
|
1143
|
+
15
|
1144
|
+
16</pre>
|
1145
|
+
</td>
|
1146
|
+
<td>
|
1147
|
+
<pre class="code"><span class="info file"># File 'lib/models/alipay.rb', line 14</span>
|
1148
|
+
|
1149
|
+
<span class='def def kw'>def</span> <span class='seller_email identifier id'>seller_email</span>
|
1150
|
+
<span class='@seller_email ivar id'>@seller_email</span>
|
1151
|
+
<span class='end end kw'>end</span>
|
1152
|
+
</pre>
|
1153
|
+
</td>
|
1154
|
+
</tr>
|
1155
|
+
</table>
|
1156
|
+
</div>
|
1157
|
+
|
1158
|
+
|
1159
|
+
<span id="seller_id=-instance_method"></span>
|
1160
|
+
<span id="seller_id-instance_method"></span>
|
1161
|
+
<div class="method_details ">
|
1162
|
+
<p class="signature " id="seller_id-instance_method">
|
1163
|
+
|
1164
|
+
- (<tt>Object</tt>) <strong>seller_id</strong>
|
1165
|
+
|
1166
|
+
|
1167
|
+
|
1168
|
+
</p><div class="docstring">
|
1169
|
+
<div class="discussion">
|
1170
|
+
<p>
|
1171
|
+
Returns the value of attribute seller_id
|
1172
|
+
</p>
|
1173
|
+
|
1174
|
+
|
1175
|
+
</div>
|
1176
|
+
</div>
|
1177
|
+
<div class="tags">
|
1178
|
+
|
1179
|
+
</div><table class="source_code">
|
1180
|
+
<tr>
|
1181
|
+
<td>
|
1182
|
+
<pre class="lines">
|
1183
|
+
|
1184
|
+
|
1185
|
+
14
|
1186
|
+
15
|
1187
|
+
16</pre>
|
1188
|
+
</td>
|
1189
|
+
<td>
|
1190
|
+
<pre class="code"><span class="info file"># File 'lib/models/alipay.rb', line 14</span>
|
1191
|
+
|
1192
|
+
<span class='def def kw'>def</span> <span class='seller_id identifier id'>seller_id</span>
|
1193
|
+
<span class='@seller_id ivar id'>@seller_id</span>
|
1194
|
+
<span class='end end kw'>end</span>
|
1195
|
+
</pre>
|
1196
|
+
</td>
|
1197
|
+
</tr>
|
1198
|
+
</table>
|
1199
|
+
</div>
|
1200
|
+
|
1201
|
+
|
1202
|
+
<span id="service=-instance_method"></span>
|
1203
|
+
<span id="service-instance_method"></span>
|
1204
|
+
<div class="method_details ">
|
1205
|
+
<p class="signature " id="service-instance_method">
|
1206
|
+
|
1207
|
+
- (<tt>Object</tt>) <strong>service</strong>
|
1208
|
+
|
1209
|
+
|
1210
|
+
|
1211
|
+
</p><div class="docstring">
|
1212
|
+
<div class="discussion">
|
1213
|
+
<p>
|
1214
|
+
Returns the value of attribute service
|
1215
|
+
</p>
|
1216
|
+
|
1217
|
+
|
1218
|
+
</div>
|
1219
|
+
</div>
|
1220
|
+
<div class="tags">
|
1221
|
+
|
1222
|
+
</div><table class="source_code">
|
1223
|
+
<tr>
|
1224
|
+
<td>
|
1225
|
+
<pre class="lines">
|
1226
|
+
|
1227
|
+
|
1228
|
+
12
|
1229
|
+
13
|
1230
|
+
14</pre>
|
1231
|
+
</td>
|
1232
|
+
<td>
|
1233
|
+
<pre class="code"><span class="info file"># File 'lib/models/alipay.rb', line 12</span>
|
1234
|
+
|
1235
|
+
<span class='def def kw'>def</span> <span class='service identifier id'>service</span>
|
1236
|
+
<span class='@service ivar id'>@service</span>
|
1237
|
+
<span class='end end kw'>end</span>
|
1238
|
+
</pre>
|
1239
|
+
</td>
|
1240
|
+
</tr>
|
1241
|
+
</table>
|
1242
|
+
</div>
|
1243
|
+
|
1244
|
+
|
1245
|
+
<span id="show_url=-instance_method"></span>
|
1246
|
+
<span id="show_url-instance_method"></span>
|
1247
|
+
<div class="method_details ">
|
1248
|
+
<p class="signature " id="show_url-instance_method">
|
1249
|
+
|
1250
|
+
- (<tt>Object</tt>) <strong>show_url</strong>
|
1251
|
+
|
1252
|
+
|
1253
|
+
|
1254
|
+
</p><div class="docstring">
|
1255
|
+
<div class="discussion">
|
1256
|
+
<p>
|
1257
|
+
Returns the value of attribute show_url
|
1258
|
+
</p>
|
1259
|
+
|
1260
|
+
|
1261
|
+
</div>
|
1262
|
+
</div>
|
1263
|
+
<div class="tags">
|
1264
|
+
|
1265
|
+
</div><table class="source_code">
|
1266
|
+
<tr>
|
1267
|
+
<td>
|
1268
|
+
<pre class="lines">
|
1269
|
+
|
1270
|
+
|
1271
|
+
14
|
1272
|
+
15
|
1273
|
+
16</pre>
|
1274
|
+
</td>
|
1275
|
+
<td>
|
1276
|
+
<pre class="code"><span class="info file"># File 'lib/models/alipay.rb', line 14</span>
|
1277
|
+
|
1278
|
+
<span class='def def kw'>def</span> <span class='show_url identifier id'>show_url</span>
|
1279
|
+
<span class='@show_url ivar id'>@show_url</span>
|
1280
|
+
<span class='end end kw'>end</span>
|
1281
|
+
</pre>
|
1282
|
+
</td>
|
1283
|
+
</tr>
|
1284
|
+
</table>
|
1285
|
+
</div>
|
1286
|
+
|
1287
|
+
|
1288
|
+
<span id="sign=-instance_method"></span>
|
1289
|
+
<span id="sign-instance_method"></span>
|
1290
|
+
<div class="method_details ">
|
1291
|
+
<p class="signature " id="sign-instance_method">
|
1292
|
+
|
1293
|
+
- (<tt>Object</tt>) <strong>sign</strong>
|
1294
|
+
|
1295
|
+
|
1296
|
+
|
1297
|
+
</p><div class="docstring">
|
1298
|
+
<div class="discussion">
|
1299
|
+
<p>
|
1300
|
+
Returns the value of attribute sign
|
1301
|
+
</p>
|
1302
|
+
|
1303
|
+
|
1304
|
+
</div>
|
1305
|
+
</div>
|
1306
|
+
<div class="tags">
|
1307
|
+
|
1308
|
+
</div><table class="source_code">
|
1309
|
+
<tr>
|
1310
|
+
<td>
|
1311
|
+
<pre class="lines">
|
1312
|
+
|
1313
|
+
|
1314
|
+
12
|
1315
|
+
13
|
1316
|
+
14</pre>
|
1317
|
+
</td>
|
1318
|
+
<td>
|
1319
|
+
<pre class="code"><span class="info file"># File 'lib/models/alipay.rb', line 12</span>
|
1320
|
+
|
1321
|
+
<span class='def def kw'>def</span> <span class='sign identifier id'>sign</span>
|
1322
|
+
<span class='@sign ivar id'>@sign</span>
|
1323
|
+
<span class='end end kw'>end</span>
|
1324
|
+
</pre>
|
1325
|
+
</td>
|
1326
|
+
</tr>
|
1327
|
+
</table>
|
1328
|
+
</div>
|
1329
|
+
|
1330
|
+
|
1331
|
+
<span id="sign_type=-instance_method"></span>
|
1332
|
+
<span id="sign_type-instance_method"></span>
|
1333
|
+
<div class="method_details ">
|
1334
|
+
<p class="signature " id="sign_type-instance_method">
|
1335
|
+
|
1336
|
+
- (<tt>Object</tt>) <strong>sign_type</strong>
|
1337
|
+
|
1338
|
+
|
1339
|
+
|
1340
|
+
</p><div class="docstring">
|
1341
|
+
<div class="discussion">
|
1342
|
+
<p>
|
1343
|
+
Returns the value of attribute sign_type
|
1344
|
+
</p>
|
1345
|
+
|
1346
|
+
|
1347
|
+
</div>
|
1348
|
+
</div>
|
1349
|
+
<div class="tags">
|
1350
|
+
|
1351
|
+
</div><table class="source_code">
|
1352
|
+
<tr>
|
1353
|
+
<td>
|
1354
|
+
<pre class="lines">
|
1355
|
+
|
1356
|
+
|
1357
|
+
12
|
1358
|
+
13
|
1359
|
+
14</pre>
|
1360
|
+
</td>
|
1361
|
+
<td>
|
1362
|
+
<pre class="code"><span class="info file"># File 'lib/models/alipay.rb', line 12</span>
|
1363
|
+
|
1364
|
+
<span class='def def kw'>def</span> <span class='sign_type identifier id'>sign_type</span>
|
1365
|
+
<span class='@sign_type ivar id'>@sign_type</span>
|
1366
|
+
<span class='end end kw'>end</span>
|
1367
|
+
</pre>
|
1368
|
+
</td>
|
1369
|
+
</tr>
|
1370
|
+
</table>
|
1371
|
+
</div>
|
1372
|
+
|
1373
|
+
|
1374
|
+
<span id="subject=-instance_method"></span>
|
1375
|
+
<span id="subject-instance_method"></span>
|
1376
|
+
<div class="method_details ">
|
1377
|
+
<p class="signature " id="subject-instance_method">
|
1378
|
+
|
1379
|
+
- (<tt>Object</tt>) <strong>subject</strong>
|
1380
|
+
|
1381
|
+
|
1382
|
+
|
1383
|
+
</p><div class="docstring">
|
1384
|
+
<div class="discussion">
|
1385
|
+
<p>
|
1386
|
+
Returns the value of attribute subject
|
1387
|
+
</p>
|
1388
|
+
|
1389
|
+
|
1390
|
+
</div>
|
1391
|
+
</div>
|
1392
|
+
<div class="tags">
|
1393
|
+
|
1394
|
+
</div><table class="source_code">
|
1395
|
+
<tr>
|
1396
|
+
<td>
|
1397
|
+
<pre class="lines">
|
1398
|
+
|
1399
|
+
|
1400
|
+
12
|
1401
|
+
13
|
1402
|
+
14</pre>
|
1403
|
+
</td>
|
1404
|
+
<td>
|
1405
|
+
<pre class="code"><span class="info file"># File 'lib/models/alipay.rb', line 12</span>
|
1406
|
+
|
1407
|
+
<span class='def def kw'>def</span> <span class='subject identifier id'>subject</span>
|
1408
|
+
<span class='@subject ivar id'>@subject</span>
|
1409
|
+
<span class='end end kw'>end</span>
|
1410
|
+
</pre>
|
1411
|
+
</td>
|
1412
|
+
</tr>
|
1413
|
+
</table>
|
1414
|
+
</div>
|
1415
|
+
|
1416
|
+
|
1417
|
+
<span id="total_fee=-instance_method"></span>
|
1418
|
+
<span id="total_fee-instance_method"></span>
|
1419
|
+
<div class="method_details ">
|
1420
|
+
<p class="signature " id="total_fee-instance_method">
|
1421
|
+
|
1422
|
+
- (<tt>Object</tt>) <strong>total_fee</strong>
|
1423
|
+
|
1424
|
+
|
1425
|
+
|
1426
|
+
</p><div class="docstring">
|
1427
|
+
<div class="discussion">
|
1428
|
+
<p>
|
1429
|
+
Returns the value of attribute total_fee
|
1430
|
+
</p>
|
1431
|
+
|
1432
|
+
|
1433
|
+
</div>
|
1434
|
+
</div>
|
1435
|
+
<div class="tags">
|
1436
|
+
|
1437
|
+
</div><table class="source_code">
|
1438
|
+
<tr>
|
1439
|
+
<td>
|
1440
|
+
<pre class="lines">
|
1441
|
+
|
1442
|
+
|
1443
|
+
14
|
1444
|
+
15
|
1445
|
+
16</pre>
|
1446
|
+
</td>
|
1447
|
+
<td>
|
1448
|
+
<pre class="code"><span class="info file"># File 'lib/models/alipay.rb', line 14</span>
|
1449
|
+
|
1450
|
+
<span class='def def kw'>def</span> <span class='total_fee identifier id'>total_fee</span>
|
1451
|
+
<span class='@total_fee ivar id'>@total_fee</span>
|
1452
|
+
<span class='end end kw'>end</span>
|
1453
|
+
</pre>
|
1454
|
+
</td>
|
1455
|
+
</tr>
|
1456
|
+
</table>
|
1457
|
+
</div>
|
1458
|
+
|
1459
|
+
</div>
|
1460
|
+
|
1461
|
+
|
1462
|
+
<div id="instance_method_details" class="method_details_list">
|
1463
|
+
<h2>Instance Method Details</h2>
|
1464
|
+
|
1465
|
+
|
1466
|
+
<div class="method_details first">
|
1467
|
+
<p class="signature first" id="invalid_sign?-instance_method">
|
1468
|
+
|
1469
|
+
- (<tt>Boolean</tt>) <strong>invalid_sign?</strong>
|
1470
|
+
|
1471
|
+
|
1472
|
+
|
1473
|
+
</p><div class="docstring">
|
1474
|
+
<div class="discussion">
|
1475
|
+
|
1476
|
+
|
1477
|
+
</div>
|
1478
|
+
</div>
|
1479
|
+
<div class="tags">
|
1480
|
+
<h3>Returns:</h3>
|
1481
|
+
<ul class="return">
|
1482
|
+
|
1483
|
+
<li>
|
1484
|
+
|
1485
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
1486
|
+
|
1487
|
+
|
1488
|
+
|
1489
|
+
|
1490
|
+
</li>
|
1491
|
+
|
1492
|
+
</ul>
|
1493
|
+
|
1494
|
+
</div><table class="source_code">
|
1495
|
+
<tr>
|
1496
|
+
<td>
|
1497
|
+
<pre class="lines">
|
1498
|
+
|
1499
|
+
|
1500
|
+
44
|
1501
|
+
45
|
1502
|
+
46
|
1503
|
+
47
|
1504
|
+
48
|
1505
|
+
49
|
1506
|
+
50</pre>
|
1507
|
+
</td>
|
1508
|
+
<td>
|
1509
|
+
<pre class="code"><span class="info file"># File 'lib/models/alipay.rb', line 44</span>
|
1510
|
+
|
1511
|
+
<span class='def def kw'>def</span> <span class='invalid_sign? fid id'>invalid_sign?</span>
|
1512
|
+
<span class='attrs identifier id'>attrs</span> <span class='assign token'>=</span> <span class='@attributes ivar id'>@attributes</span><span class='dot token'>.</span><span class='dup identifier id'>dup</span>
|
1513
|
+
<span class='attrs identifier id'>attrs</span><span class='dot token'>.</span><span class='delete identifier id'>delete</span><span class='lparen token'>(</span><span class='string val'>"sign"</span><span class='rparen token'>)</span>
|
1514
|
+
<span class='attrs identifier id'>attrs</span><span class='dot token'>.</span><span class='delete identifier id'>delete</span><span class='lparen token'>(</span><span class='string val'>"sign_type"</span><span class='rparen token'>)</span>
|
1515
|
+
<span class='text identifier id'>text</span> <span class='assign token'>=</span> <span class='attrs identifier id'>attrs</span><span class='dot token'>.</span><span class='delete_if identifier id'>delete_if</span><span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='k identifier id'>k</span><span class='comma token'>,</span> <span class='v identifier id'>v</span><span class='bitor op'>|</span> <span class='v identifier id'>v</span><span class='dot token'>.</span><span class='blank? fid id'>blank?</span> <span class='rbrace token'>}</span><span class='dot token'>.</span><span class='sort identifier id'>sort</span><span class='dot token'>.</span><span class='collect identifier id'>collect</span><span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='s identifier id'>s</span><span class='bitor op'>|</span> <span class='s identifier id'>s</span><span class='lbrack token'>[</span><span class='integer val'>0</span><span class='rbrack token'>]</span> <span class='plus op'>+</span> <span class='string val'>"="</span> <span class='plus op'>+</span> <span class='URI constant id'>URI</span><span class='dot token'>.</span><span class='decode identifier id'>decode</span><span class='lparen token'>(</span><span class='s identifier id'>s</span><span class='lbrack token'>[</span><span class='integer val'>1</span><span class='rbrack token'>]</span><span class='rparen token'>)</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'>"&"</span><span class='rparen token'>)</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>
|
1516
|
+
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='sign identifier id'>sign</span> <span class='eq op'>==</span> <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='question op'>?</span> <span class='false false kw'>false</span> <span class='colon op'>:</span> <span class='true true kw'>true</span>
|
1517
|
+
<span class='end end kw'>end</span>
|
1518
|
+
</pre>
|
1519
|
+
</td>
|
1520
|
+
</tr>
|
1521
|
+
</table>
|
1522
|
+
</div>
|
1523
|
+
|
1524
|
+
<div class="method_details ">
|
1525
|
+
<p class="signature " id="money_blank?-instance_method">
|
1526
|
+
|
1527
|
+
- (<tt>Boolean</tt>) <strong>money_blank?</strong>
|
1528
|
+
|
1529
|
+
|
1530
|
+
|
1531
|
+
</p><div class="docstring">
|
1532
|
+
<div class="discussion">
|
1533
|
+
|
1534
|
+
|
1535
|
+
</div>
|
1536
|
+
</div>
|
1537
|
+
<div class="tags">
|
1538
|
+
<h3>Returns:</h3>
|
1539
|
+
<ul class="return">
|
1540
|
+
|
1541
|
+
<li>
|
1542
|
+
|
1543
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
1544
|
+
|
1545
|
+
|
1546
|
+
|
1547
|
+
|
1548
|
+
</li>
|
1549
|
+
|
1550
|
+
</ul>
|
1551
|
+
|
1552
|
+
</div><table class="source_code">
|
1553
|
+
<tr>
|
1554
|
+
<td>
|
1555
|
+
<pre class="lines">
|
1556
|
+
|
1557
|
+
|
1558
|
+
40
|
1559
|
+
41
|
1560
|
+
42</pre>
|
1561
|
+
</td>
|
1562
|
+
<td>
|
1563
|
+
<pre class="code"><span class="info file"># File 'lib/models/alipay.rb', line 40</span>
|
1564
|
+
|
1565
|
+
<span class='def def kw'>def</span> <span class='money_blank? fid id'>money_blank?</span>
|
1566
|
+
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='price identifier id'>price</span><span class='dot token'>.</span><span class='blank? fid id'>blank?</span> <span class='and and kw'>and</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='total_fee identifier id'>total_fee</span><span class='dot token'>.</span><span class='blank? fid id'>blank?</span>
|
1567
|
+
<span class='end end kw'>end</span>
|
1568
|
+
</pre>
|
1569
|
+
</td>
|
1570
|
+
</tr>
|
1571
|
+
</table>
|
1572
|
+
</div>
|
1573
|
+
|
1574
|
+
<div class="method_details ">
|
1575
|
+
<p class="signature " id="notify-instance_method">
|
1576
|
+
|
1577
|
+
- (<tt>Object</tt>) <strong>notify</strong>
|
1578
|
+
|
1579
|
+
|
1580
|
+
|
1581
|
+
</p><table class="source_code">
|
1582
|
+
<tr>
|
1583
|
+
<td>
|
1584
|
+
<pre class="lines">
|
1585
|
+
|
1586
|
+
|
1587
|
+
52
|
1588
|
+
53
|
1589
|
+
54
|
1590
|
+
55
|
1591
|
+
56
|
1592
|
+
57</pre>
|
1593
|
+
</td>
|
1594
|
+
<td>
|
1595
|
+
<pre class="code"><span class="info file"># File 'lib/models/alipay.rb', line 52</span>
|
1596
|
+
|
1597
|
+
<span class='def def kw'>def</span> <span class='notify identifier id'>notify</span>
|
1598
|
+
<span class='@notify ivar id'>@notify</span> <span class='opasgn op'>||=</span> <span class='notify_attrs identifier id'>notify_attrs</span><span class='dot token'>.</span><span class='inject identifier id'>inject</span><span class='lparen token'>(</span><span class='lbrace token'>{</span> <span class='rbrace token'>}</span><span class='rparen token'>)</span><span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='notify identifier id'>notify</span><span class='comma token'>,</span> <span class='attr identifier id'>attr</span><span class='bitor op'>|</span>
|
1599
|
+
<span class='notify identifier id'>notify</span><span class='lbrack token'>[</span><span class='attr identifier id'>attr</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='attr identifier id'>attr</span><span class='rparen token'>)</span>
|
1600
|
+
<span class='notify identifier id'>notify</span>
|
1601
|
+
<span class='rbrace token'>}</span><span class='dot token'>.</span><span class='merge identifier id'>merge</span><span class='lparen token'>(</span><span class='string val'>"sign_type"</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='sign_type identifier id'>sign_type</span><span class='comma token'>,</span> <span class='string val'>"sign"</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='notify_sign identifier id'>notify_sign</span><span class='rparen token'>)</span>
|
1602
|
+
<span class='end end kw'>end</span>
|
1603
|
+
</pre>
|
1604
|
+
</td>
|
1605
|
+
</tr>
|
1606
|
+
</table>
|
1607
|
+
</div>
|
1608
|
+
|
1609
|
+
<div class="method_details ">
|
1610
|
+
<p class="signature " id="price_missing_quantity?-instance_method">
|
1611
|
+
|
1612
|
+
- (<tt>Boolean</tt>) <strong>price_missing_quantity?</strong>
|
1613
|
+
|
1614
|
+
|
1615
|
+
|
1616
|
+
</p><div class="docstring">
|
1617
|
+
<div class="discussion">
|
1618
|
+
|
1619
|
+
|
1620
|
+
</div>
|
1621
|
+
</div>
|
1622
|
+
<div class="tags">
|
1623
|
+
<h3>Returns:</h3>
|
1624
|
+
<ul class="return">
|
1625
|
+
|
1626
|
+
<li>
|
1627
|
+
|
1628
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
1629
|
+
|
1630
|
+
|
1631
|
+
|
1632
|
+
|
1633
|
+
</li>
|
1634
|
+
|
1635
|
+
</ul>
|
1636
|
+
|
1637
|
+
</div><table class="source_code">
|
1638
|
+
<tr>
|
1639
|
+
<td>
|
1640
|
+
<pre class="lines">
|
1641
|
+
|
1642
|
+
|
1643
|
+
32
|
1644
|
+
33
|
1645
|
+
34</pre>
|
1646
|
+
</td>
|
1647
|
+
<td>
|
1648
|
+
<pre class="code"><span class="info file"># File 'lib/models/alipay.rb', line 32</span>
|
1649
|
+
|
1650
|
+
<span class='def def kw'>def</span> <span class='price_missing_quantity? fid id'>price_missing_quantity?</span>
|
1651
|
+
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='price identifier id'>price</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span><span class='dot token'>.</span><span class='length identifier id'>length</span> <span class='gt op'>></span> <span class='integer val'>0</span> <span class='and and kw'>and</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='quantity identifier id'>quantity</span><span class='dot token'>.</span><span class='blank? fid id'>blank?</span>
|
1652
|
+
<span class='end end kw'>end</span>
|
1653
|
+
</pre>
|
1654
|
+
</td>
|
1655
|
+
</tr>
|
1656
|
+
</table>
|
1657
|
+
</div>
|
1658
|
+
|
1659
|
+
<div class="method_details ">
|
1660
|
+
<p class="signature " id="repeat_money?-instance_method">
|
1661
|
+
|
1662
|
+
- (<tt>Boolean</tt>) <strong>repeat_money?</strong>
|
1663
|
+
|
1664
|
+
|
1665
|
+
|
1666
|
+
</p><div class="docstring">
|
1667
|
+
<div class="discussion">
|
1668
|
+
|
1669
|
+
|
1670
|
+
</div>
|
1671
|
+
</div>
|
1672
|
+
<div class="tags">
|
1673
|
+
<h3>Returns:</h3>
|
1674
|
+
<ul class="return">
|
1675
|
+
|
1676
|
+
<li>
|
1677
|
+
|
1678
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
1679
|
+
|
1680
|
+
|
1681
|
+
|
1682
|
+
|
1683
|
+
</li>
|
1684
|
+
|
1685
|
+
</ul>
|
1686
|
+
|
1687
|
+
</div><table class="source_code">
|
1688
|
+
<tr>
|
1689
|
+
<td>
|
1690
|
+
<pre class="lines">
|
1691
|
+
|
1692
|
+
|
1693
|
+
28
|
1694
|
+
29
|
1695
|
+
30</pre>
|
1696
|
+
</td>
|
1697
|
+
<td>
|
1698
|
+
<pre class="code"><span class="info file"># File 'lib/models/alipay.rb', line 28</span>
|
1699
|
+
|
1700
|
+
<span class='def def kw'>def</span> <span class='repeat_money? fid id'>repeat_money?</span>
|
1701
|
+
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='price identifier id'>price</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span><span class='dot token'>.</span><span class='length identifier id'>length</span> <span class='gt op'>></span> <span class='integer val'>0</span> <span class='and and kw'>and</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='total_fee identifier id'>total_fee</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span><span class='dot token'>.</span><span class='length identifier id'>length</span> <span class='gt op'>></span> <span class='integer val'>0</span>
|
1702
|
+
<span class='end end kw'>end</span>
|
1703
|
+
</pre>
|
1704
|
+
</td>
|
1705
|
+
</tr>
|
1706
|
+
</table>
|
1707
|
+
</div>
|
1708
|
+
|
1709
|
+
<div class="method_details ">
|
1710
|
+
<p class="signature " id="seller_blank?-instance_method">
|
1711
|
+
|
1712
|
+
- (<tt>Boolean</tt>) <strong>seller_blank?</strong>
|
1713
|
+
|
1714
|
+
|
1715
|
+
|
1716
|
+
</p><div class="docstring">
|
1717
|
+
<div class="discussion">
|
1718
|
+
|
1719
|
+
|
1720
|
+
</div>
|
1721
|
+
</div>
|
1722
|
+
<div class="tags">
|
1723
|
+
<h3>Returns:</h3>
|
1724
|
+
<ul class="return">
|
1725
|
+
|
1726
|
+
<li>
|
1727
|
+
|
1728
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
1729
|
+
|
1730
|
+
|
1731
|
+
|
1732
|
+
|
1733
|
+
</li>
|
1734
|
+
|
1735
|
+
</ul>
|
1736
|
+
|
1737
|
+
</div><table class="source_code">
|
1738
|
+
<tr>
|
1739
|
+
<td>
|
1740
|
+
<pre class="lines">
|
1741
|
+
|
1742
|
+
|
1743
|
+
36
|
1744
|
+
37
|
1745
|
+
38</pre>
|
1746
|
+
</td>
|
1747
|
+
<td>
|
1748
|
+
<pre class="code"><span class="info file"># File 'lib/models/alipay.rb', line 36</span>
|
1749
|
+
|
1750
|
+
<span class='def def kw'>def</span> <span class='seller_blank? fid id'>seller_blank?</span>
|
1751
|
+
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='seller_id identifier id'>seller_id</span><span class='dot token'>.</span><span class='blank? fid id'>blank?</span> <span class='and and kw'>and</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='seller_email identifier id'>seller_email</span><span class='dot token'>.</span><span class='blank? fid id'>blank?</span>
|
1752
|
+
<span class='end end kw'>end</span>
|
1753
|
+
</pre>
|
1754
|
+
</td>
|
1755
|
+
</tr>
|
1756
|
+
</table>
|
1757
|
+
</div>
|
1758
|
+
|
1759
|
+
</div>
|
1760
|
+
|
1761
|
+
</div>
|
1762
|
+
|
1763
|
+
<div id="footer">
|
1764
|
+
Generated on Mon Nov 8 16:21:44 2010 by
|
1765
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1766
|
+
0.6.1 (ruby-1.8.7).
|
1767
|
+
</div>
|
1768
|
+
|
1769
|
+
</body>
|
1770
|
+
</html>
|