openpayu 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +18 -0
  3. data/.rspec +3 -0
  4. data/.rubocop.yml +45 -0
  5. data/.ruby-gemset +1 -0
  6. data/.ruby-version +1 -0
  7. data/.travis.yml +10 -0
  8. data/Gemfile +4 -0
  9. data/LICENSE.txt +22 -0
  10. data/README.md +193 -0
  11. data/Rakefile +1 -0
  12. data/doc/EmptyResponseError.html +123 -0
  13. data/doc/HttpStatusException.html +123 -0
  14. data/doc/NotImplementedException.html +123 -0
  15. data/doc/OpenPayU.html +436 -0
  16. data/doc/OpenPayU/Configuration.html +1530 -0
  17. data/doc/OpenPayU/Connection.html +381 -0
  18. data/doc/OpenPayU/Document.html +705 -0
  19. data/doc/OpenPayU/Documents.html +117 -0
  20. data/doc/OpenPayU/Documents/Request.html +503 -0
  21. data/doc/OpenPayU/Documents/Response.html +783 -0
  22. data/doc/OpenPayU/Models.html +117 -0
  23. data/doc/OpenPayU/Models/Address.html +861 -0
  24. data/doc/OpenPayU/Models/Buyer.html +587 -0
  25. data/doc/OpenPayU/Models/Buyer/Delivery.html +312 -0
  26. data/doc/OpenPayU/Models/Card.html +507 -0
  27. data/doc/OpenPayU/Models/Fee.html +367 -0
  28. data/doc/OpenPayU/Models/Model.html +1208 -0
  29. data/doc/OpenPayU/Models/NotifyResponse.html +297 -0
  30. data/doc/OpenPayU/Models/Order.html +1155 -0
  31. data/doc/OpenPayU/Models/PayMethod.html +507 -0
  32. data/doc/OpenPayU/Models/Product.html +787 -0
  33. data/doc/OpenPayU/Models/Refund.html +1020 -0
  34. data/doc/OpenPayU/Models/ShippingMethod.html +367 -0
  35. data/doc/OpenPayU/Models/StatusUpdate.html +647 -0
  36. data/doc/OpenPayU/Models/Token.html +507 -0
  37. data/doc/OpenPayU/Order.html +924 -0
  38. data/doc/OpenPayU/Refund.html +269 -0
  39. data/doc/OpenPayU/Token.html +288 -0
  40. data/doc/OpenPayU/XmlBuilder.html +277 -0
  41. data/doc/WrongConfigurationError.html +123 -0
  42. data/doc/WrongNotifyRequest.html +123 -0
  43. data/doc/WrongOrderParameters.html +267 -0
  44. data/doc/WrongSignatureException.html +123 -0
  45. data/doc/_index.html +446 -0
  46. data/doc/class_list.html +54 -0
  47. data/doc/css/common.css +1 -0
  48. data/doc/css/full_list.css +57 -0
  49. data/doc/css/style.css +338 -0
  50. data/doc/file.README.html +281 -0
  51. data/doc/file_list.html +56 -0
  52. data/doc/frames.html +26 -0
  53. data/doc/index.html +281 -0
  54. data/doc/js/app.js +214 -0
  55. data/doc/js/full_list.js +178 -0
  56. data/doc/js/jquery.js +4 -0
  57. data/doc/method_list.html +1007 -0
  58. data/doc/top-level-namespace.html +114 -0
  59. data/lib/openpayu.rb +66 -0
  60. data/lib/openpayu/configuration.rb +62 -0
  61. data/lib/openpayu/connection.rb +65 -0
  62. data/lib/openpayu/document.rb +105 -0
  63. data/lib/openpayu/documents/request.rb +34 -0
  64. data/lib/openpayu/documents/response.rb +48 -0
  65. data/lib/openpayu/exceptions.rb +19 -0
  66. data/lib/openpayu/models/address.rb +12 -0
  67. data/lib/openpayu/models/buyer.rb +11 -0
  68. data/lib/openpayu/models/buyer/delivery.rb +7 -0
  69. data/lib/openpayu/models/buyer/invoice.rb +8 -0
  70. data/lib/openpayu/models/card.rb +10 -0
  71. data/lib/openpayu/models/fee.rb +9 -0
  72. data/lib/openpayu/models/model.rb +151 -0
  73. data/lib/openpayu/models/notify_response.rb +9 -0
  74. data/lib/openpayu/models/order.rb +28 -0
  75. data/lib/openpayu/models/pay_method.rb +10 -0
  76. data/lib/openpayu/models/product.rb +10 -0
  77. data/lib/openpayu/models/refund.rb +41 -0
  78. data/lib/openpayu/models/shipping_method.rb +9 -0
  79. data/lib/openpayu/models/status_update.rb +14 -0
  80. data/lib/openpayu/models/token.rb +10 -0
  81. data/lib/openpayu/order.rb +119 -0
  82. data/lib/openpayu/refund.rb +26 -0
  83. data/lib/openpayu/token.rb +27 -0
  84. data/lib/openpayu/version.rb +4 -0
  85. data/lib/openpayu/xml_builder.rb +23 -0
  86. data/lib/openpayu_ruby.rb +2 -0
  87. data/openpayu_ruby.gemspec +40 -0
  88. data/spec/cassettes/cancel_order.yml +50 -0
  89. data/spec/cassettes/create_order.yml +51 -0
  90. data/spec/cassettes/refund_order.yml +100 -0
  91. data/spec/cassettes/retrieve_order.yml +51 -0
  92. data/spec/cassettes/update_order.yml +50 -0
  93. data/spec/integration/order_spec.rb +103 -0
  94. data/spec/openpayu.yml +11 -0
  95. data/spec/spec_helper.rb +27 -0
  96. data/spec/test_objects/order.rb +97 -0
  97. data/spec/unit/configuration_spec.rb +71 -0
  98. data/spec/unit/document_spec.rb +18 -0
  99. data/spec/unit/models/order_spec.rb +82 -0
  100. data/spec/unit/models/refund_spec.rb +24 -0
  101. data/spec/unit/openpayu_spec.rb +27 -0
  102. metadata +327 -0
@@ -0,0 +1,787 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: OpenPayU::Models::Product
8
+
9
+ &mdash; Documentation by YARD 0.8.7.2
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '../../';
20
+ framesUrl = "../../frames.html#!" + escape(window.location.href);
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="../../_index.html">Index (P)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../../OpenPayU.html" title="OpenPayU (module)">OpenPayU</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Models.html" title="OpenPayU::Models (module)">Models</a></span></span>
36
+ &raquo;
37
+ <span class="title">Product</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="../../class_list.html">
47
+ Class List
48
+ </a>
49
+
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="../../method_list.html">
52
+ Method List
53
+ </a>
54
+
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="../../file_list.html">
57
+ File List
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Class: OpenPayU::Models::Product
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+ <dt class="r1">Inherits:</dt>
75
+ <dd class="r1">
76
+ <span class="inheritName"><span class='object_link'><a href="Model.html" title="OpenPayU::Models::Model (class)">Model</a></span></span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next"><span class='object_link'><a href="Model.html" title="OpenPayU::Models::Model (class)">Model</a></span></li>
82
+
83
+ <li class="next">OpenPayU::Models::Product</li>
84
+
85
+ </ul>
86
+ <a href="#" class="inheritanceTree">show all</a>
87
+
88
+ </dd>
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+ <dt class="r2 last">Defined in:</dt>
99
+ <dd class="r2 last">lib/openpayu/models/product.rb</dd>
100
+
101
+ </dl>
102
+ <div class="clear"></div>
103
+
104
+
105
+
106
+
107
+
108
+ <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
109
+ <ul class="summary">
110
+
111
+ <li class="public ">
112
+ <span class="summary_signature">
113
+
114
+ <a href="#code-instance_method" title="#code (instance method)">- (Object) <strong>code</strong> </a>
115
+
116
+
117
+
118
+ </span>
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+ <span class="summary_desc"><div class='inline'>
132
+ <p>Returns the value of attribute code.</p>
133
+ </div></span>
134
+
135
+ </li>
136
+
137
+
138
+ <li class="public ">
139
+ <span class="summary_signature">
140
+
141
+ <a href="#discount-instance_method" title="#discount (instance method)">- (Object) <strong>discount</strong> </a>
142
+
143
+
144
+
145
+ </span>
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+ <span class="summary_desc"><div class='inline'>
159
+ <p>Returns the value of attribute discount.</p>
160
+ </div></span>
161
+
162
+ </li>
163
+
164
+
165
+ <li class="public ">
166
+ <span class="summary_signature">
167
+
168
+ <a href="#extra_info-instance_method" title="#extra_info (instance method)">- (Object) <strong>extra_info</strong> </a>
169
+
170
+
171
+
172
+ </span>
173
+
174
+
175
+
176
+
177
+
178
+
179
+
180
+
181
+
182
+
183
+
184
+
185
+ <span class="summary_desc"><div class='inline'>
186
+ <p>Returns the value of attribute extra_info.</p>
187
+ </div></span>
188
+
189
+ </li>
190
+
191
+
192
+ <li class="public ">
193
+ <span class="summary_signature">
194
+
195
+ <a href="#name-instance_method" title="#name (instance method)">- (Object) <strong>name</strong> </a>
196
+
197
+
198
+
199
+ </span>
200
+
201
+
202
+
203
+
204
+
205
+
206
+
207
+
208
+
209
+
210
+
211
+
212
+ <span class="summary_desc"><div class='inline'>
213
+ <p>Returns the value of attribute name.</p>
214
+ </div></span>
215
+
216
+ </li>
217
+
218
+
219
+ <li class="public ">
220
+ <span class="summary_signature">
221
+
222
+ <a href="#quantity-instance_method" title="#quantity (instance method)">- (Object) <strong>quantity</strong> </a>
223
+
224
+
225
+
226
+ </span>
227
+
228
+
229
+
230
+
231
+
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+ <span class="summary_desc"><div class='inline'>
240
+ <p>Returns the value of attribute quantity.</p>
241
+ </div></span>
242
+
243
+ </li>
244
+
245
+
246
+ <li class="public ">
247
+ <span class="summary_signature">
248
+
249
+ <a href="#size-instance_method" title="#size (instance method)">- (Object) <strong>size</strong> </a>
250
+
251
+
252
+
253
+ </span>
254
+
255
+
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+
264
+
265
+
266
+ <span class="summary_desc"><div class='inline'>
267
+ <p>Returns the value of attribute size.</p>
268
+ </div></span>
269
+
270
+ </li>
271
+
272
+
273
+ <li class="public ">
274
+ <span class="summary_signature">
275
+
276
+ <a href="#unit_price-instance_method" title="#unit_price (instance method)">- (Object) <strong>unit_price</strong> </a>
277
+
278
+
279
+
280
+ </span>
281
+
282
+
283
+
284
+
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
+
293
+ <span class="summary_desc"><div class='inline'>
294
+ <p>Returns the value of attribute unit_price.</p>
295
+ </div></span>
296
+
297
+ </li>
298
+
299
+
300
+ <li class="public ">
301
+ <span class="summary_signature">
302
+
303
+ <a href="#version-instance_method" title="#version (instance method)">- (Object) <strong>version</strong> </a>
304
+
305
+
306
+
307
+ </span>
308
+
309
+
310
+
311
+
312
+
313
+
314
+
315
+
316
+
317
+
318
+
319
+
320
+ <span class="summary_desc"><div class='inline'>
321
+ <p>Returns the value of attribute version.</p>
322
+ </div></span>
323
+
324
+ </li>
325
+
326
+
327
+ <li class="public ">
328
+ <span class="summary_signature">
329
+
330
+ <a href="#weight-instance_method" title="#weight (instance method)">- (Object) <strong>weight</strong> </a>
331
+
332
+
333
+
334
+ </span>
335
+
336
+
337
+
338
+
339
+
340
+
341
+
342
+
343
+
344
+
345
+
346
+
347
+ <span class="summary_desc"><div class='inline'>
348
+ <p>Returns the value of attribute weight.</p>
349
+ </div></span>
350
+
351
+ </li>
352
+
353
+
354
+ </ul>
355
+
356
+
357
+
358
+
359
+
360
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Model.html" title="OpenPayU::Models::Model (class)">Model</a></span></h3>
361
+ <p class="inherited"><span class='object_link'><a href="Model.html#all_errors-instance_method" title="OpenPayU::Models::Model#all_errors (method)">#all_errors</a></span></p>
362
+
363
+
364
+
365
+
366
+
367
+
368
+
369
+
370
+
371
+ <h2>Method Summary</h2>
372
+
373
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Model.html" title="OpenPayU::Models::Model (class)">Model</a></span></h3>
374
+ <p class="inherited"><span class='object_link'><a href="Model.html#after_initialize-instance_method" title="OpenPayU::Models::Model#after_initialize (method)">#after_initialize</a></span>, <span class='object_link'><a href="Model.html#all_objects_valid%3F-instance_method" title="OpenPayU::Models::Model#all_objects_valid? (method)">#all_objects_valid?</a></span>, <span class='object_link'><a href="Model.html#attributes-instance_method" title="OpenPayU::Models::Model#attributes (method)">#attributes</a></span>, <span class='object_link'><a href="Model.html#define_reader-class_method" title="OpenPayU::Models::Model.define_reader (method)">define_reader</a></span>, <span class='object_link'><a href="Model.html#define_writer-class_method" title="OpenPayU::Models::Model.define_writer (method)">define_writer</a></span>, <span class='object_link'><a href="Model.html#generate_xml-instance_method" title="OpenPayU::Models::Model#generate_xml (method)">#generate_xml</a></span>, <span class='object_link'><a href="Model.html#get_instance_values-instance_method" title="OpenPayU::Models::Model#get_instance_values (method)">#get_instance_values</a></span>, <span class='object_link'><a href="Model.html#has_many_objects-class_method" title="OpenPayU::Models::Model.has_many_objects (method)">has_many_objects</a></span>, <span class='object_link'><a href="Model.html#has_one_object-class_method" title="OpenPayU::Models::Model.has_one_object (method)">has_one_object</a></span>, <span class='object_link'><a href="Model.html#initialize-instance_method" title="OpenPayU::Models::Model#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="Model.html#prepare_data-instance_method" title="OpenPayU::Models::Model#prepare_data (method)">#prepare_data</a></span>, <span class='object_link'><a href="Model.html#prepare_keys-instance_method" title="OpenPayU::Models::Model#prepare_keys (method)">#prepare_keys</a></span>, <span class='object_link'><a href="Model.html#to_flatten_hash-instance_method" title="OpenPayU::Models::Model#to_flatten_hash (method)">#to_flatten_hash</a></span>, <span class='object_link'><a href="Model.html#to_json-instance_method" title="OpenPayU::Models::Model#to_json (method)">#to_json</a></span>, <span class='object_link'><a href="Model.html#validate_all_objects-instance_method" title="OpenPayU::Models::Model#validate_all_objects (method)">#validate_all_objects</a></span></p>
375
+
376
+
377
+
378
+ <div id="constructor_details" class="method_details_list">
379
+ <h2>Constructor Details</h2>
380
+
381
+ <p class="notice">This class inherits a constructor from <span class='object_link'><a href="Model.html#initialize-instance_method" title="OpenPayU::Models::Model#initialize (method)">OpenPayU::Models::Model</a></span></p>
382
+
383
+ </div>
384
+
385
+ <div id="instance_attr_details" class="attr_details">
386
+ <h2>Instance Attribute Details</h2>
387
+
388
+
389
+ <span id="code=-instance_method"></span>
390
+ <div class="method_details first">
391
+ <h3 class="signature first" id="code-instance_method">
392
+
393
+ - (<tt>Object</tt>) <strong>code</strong>
394
+
395
+
396
+
397
+
398
+
399
+ </h3><div class="docstring">
400
+ <div class="discussion">
401
+
402
+ <p>Returns the value of attribute code</p>
403
+
404
+
405
+ </div>
406
+ </div>
407
+ <div class="tags">
408
+
409
+
410
+ </div><table class="source_code">
411
+ <tr>
412
+ <td>
413
+ <pre class="lines">
414
+
415
+
416
+ 5
417
+ 6
418
+ 7</pre>
419
+ </td>
420
+ <td>
421
+ <pre class="code"><span class="info file"># File 'lib/openpayu/models/product.rb', line 5</span>
422
+
423
+ <span class='kw'>def</span> <span class='id identifier rubyid_code'>code</span>
424
+ <span class='ivar'>@code</span>
425
+ <span class='kw'>end</span></pre>
426
+ </td>
427
+ </tr>
428
+ </table>
429
+ </div>
430
+
431
+
432
+ <span id="discount=-instance_method"></span>
433
+ <div class="method_details ">
434
+ <h3 class="signature " id="discount-instance_method">
435
+
436
+ - (<tt>Object</tt>) <strong>discount</strong>
437
+
438
+
439
+
440
+
441
+
442
+ </h3><div class="docstring">
443
+ <div class="discussion">
444
+
445
+ <p>Returns the value of attribute discount</p>
446
+
447
+
448
+ </div>
449
+ </div>
450
+ <div class="tags">
451
+
452
+
453
+ </div><table class="source_code">
454
+ <tr>
455
+ <td>
456
+ <pre class="lines">
457
+
458
+
459
+ 5
460
+ 6
461
+ 7</pre>
462
+ </td>
463
+ <td>
464
+ <pre class="code"><span class="info file"># File 'lib/openpayu/models/product.rb', line 5</span>
465
+
466
+ <span class='kw'>def</span> <span class='id identifier rubyid_discount'>discount</span>
467
+ <span class='ivar'>@discount</span>
468
+ <span class='kw'>end</span></pre>
469
+ </td>
470
+ </tr>
471
+ </table>
472
+ </div>
473
+
474
+
475
+ <span id="extra_info=-instance_method"></span>
476
+ <div class="method_details ">
477
+ <h3 class="signature " id="extra_info-instance_method">
478
+
479
+ - (<tt>Object</tt>) <strong>extra_info</strong>
480
+
481
+
482
+
483
+
484
+
485
+ </h3><div class="docstring">
486
+ <div class="discussion">
487
+
488
+ <p>Returns the value of attribute extra_info</p>
489
+
490
+
491
+ </div>
492
+ </div>
493
+ <div class="tags">
494
+
495
+
496
+ </div><table class="source_code">
497
+ <tr>
498
+ <td>
499
+ <pre class="lines">
500
+
501
+
502
+ 5
503
+ 6
504
+ 7</pre>
505
+ </td>
506
+ <td>
507
+ <pre class="code"><span class="info file"># File 'lib/openpayu/models/product.rb', line 5</span>
508
+
509
+ <span class='kw'>def</span> <span class='id identifier rubyid_extra_info'>extra_info</span>
510
+ <span class='ivar'>@extra_info</span>
511
+ <span class='kw'>end</span></pre>
512
+ </td>
513
+ </tr>
514
+ </table>
515
+ </div>
516
+
517
+
518
+ <span id="name=-instance_method"></span>
519
+ <div class="method_details ">
520
+ <h3 class="signature " id="name-instance_method">
521
+
522
+ - (<tt>Object</tt>) <strong>name</strong>
523
+
524
+
525
+
526
+
527
+
528
+ </h3><div class="docstring">
529
+ <div class="discussion">
530
+
531
+ <p>Returns the value of attribute name</p>
532
+
533
+
534
+ </div>
535
+ </div>
536
+ <div class="tags">
537
+
538
+
539
+ </div><table class="source_code">
540
+ <tr>
541
+ <td>
542
+ <pre class="lines">
543
+
544
+
545
+ 5
546
+ 6
547
+ 7</pre>
548
+ </td>
549
+ <td>
550
+ <pre class="code"><span class="info file"># File 'lib/openpayu/models/product.rb', line 5</span>
551
+
552
+ <span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
553
+ <span class='ivar'>@name</span>
554
+ <span class='kw'>end</span></pre>
555
+ </td>
556
+ </tr>
557
+ </table>
558
+ </div>
559
+
560
+
561
+ <span id="quantity=-instance_method"></span>
562
+ <div class="method_details ">
563
+ <h3 class="signature " id="quantity-instance_method">
564
+
565
+ - (<tt>Object</tt>) <strong>quantity</strong>
566
+
567
+
568
+
569
+
570
+
571
+ </h3><div class="docstring">
572
+ <div class="discussion">
573
+
574
+ <p>Returns the value of attribute quantity</p>
575
+
576
+
577
+ </div>
578
+ </div>
579
+ <div class="tags">
580
+
581
+
582
+ </div><table class="source_code">
583
+ <tr>
584
+ <td>
585
+ <pre class="lines">
586
+
587
+
588
+ 5
589
+ 6
590
+ 7</pre>
591
+ </td>
592
+ <td>
593
+ <pre class="code"><span class="info file"># File 'lib/openpayu/models/product.rb', line 5</span>
594
+
595
+ <span class='kw'>def</span> <span class='id identifier rubyid_quantity'>quantity</span>
596
+ <span class='ivar'>@quantity</span>
597
+ <span class='kw'>end</span></pre>
598
+ </td>
599
+ </tr>
600
+ </table>
601
+ </div>
602
+
603
+
604
+ <span id="size=-instance_method"></span>
605
+ <div class="method_details ">
606
+ <h3 class="signature " id="size-instance_method">
607
+
608
+ - (<tt>Object</tt>) <strong>size</strong>
609
+
610
+
611
+
612
+
613
+
614
+ </h3><div class="docstring">
615
+ <div class="discussion">
616
+
617
+ <p>Returns the value of attribute size</p>
618
+
619
+
620
+ </div>
621
+ </div>
622
+ <div class="tags">
623
+
624
+
625
+ </div><table class="source_code">
626
+ <tr>
627
+ <td>
628
+ <pre class="lines">
629
+
630
+
631
+ 5
632
+ 6
633
+ 7</pre>
634
+ </td>
635
+ <td>
636
+ <pre class="code"><span class="info file"># File 'lib/openpayu/models/product.rb', line 5</span>
637
+
638
+ <span class='kw'>def</span> <span class='id identifier rubyid_size'>size</span>
639
+ <span class='ivar'>@size</span>
640
+ <span class='kw'>end</span></pre>
641
+ </td>
642
+ </tr>
643
+ </table>
644
+ </div>
645
+
646
+
647
+ <span id="unit_price=-instance_method"></span>
648
+ <div class="method_details ">
649
+ <h3 class="signature " id="unit_price-instance_method">
650
+
651
+ - (<tt>Object</tt>) <strong>unit_price</strong>
652
+
653
+
654
+
655
+
656
+
657
+ </h3><div class="docstring">
658
+ <div class="discussion">
659
+
660
+ <p>Returns the value of attribute unit_price</p>
661
+
662
+
663
+ </div>
664
+ </div>
665
+ <div class="tags">
666
+
667
+
668
+ </div><table class="source_code">
669
+ <tr>
670
+ <td>
671
+ <pre class="lines">
672
+
673
+
674
+ 5
675
+ 6
676
+ 7</pre>
677
+ </td>
678
+ <td>
679
+ <pre class="code"><span class="info file"># File 'lib/openpayu/models/product.rb', line 5</span>
680
+
681
+ <span class='kw'>def</span> <span class='id identifier rubyid_unit_price'>unit_price</span>
682
+ <span class='ivar'>@unit_price</span>
683
+ <span class='kw'>end</span></pre>
684
+ </td>
685
+ </tr>
686
+ </table>
687
+ </div>
688
+
689
+
690
+ <span id="version=-instance_method"></span>
691
+ <div class="method_details ">
692
+ <h3 class="signature " id="version-instance_method">
693
+
694
+ - (<tt>Object</tt>) <strong>version</strong>
695
+
696
+
697
+
698
+
699
+
700
+ </h3><div class="docstring">
701
+ <div class="discussion">
702
+
703
+ <p>Returns the value of attribute version</p>
704
+
705
+
706
+ </div>
707
+ </div>
708
+ <div class="tags">
709
+
710
+
711
+ </div><table class="source_code">
712
+ <tr>
713
+ <td>
714
+ <pre class="lines">
715
+
716
+
717
+ 5
718
+ 6
719
+ 7</pre>
720
+ </td>
721
+ <td>
722
+ <pre class="code"><span class="info file"># File 'lib/openpayu/models/product.rb', line 5</span>
723
+
724
+ <span class='kw'>def</span> <span class='id identifier rubyid_version'>version</span>
725
+ <span class='ivar'>@version</span>
726
+ <span class='kw'>end</span></pre>
727
+ </td>
728
+ </tr>
729
+ </table>
730
+ </div>
731
+
732
+
733
+ <span id="weight=-instance_method"></span>
734
+ <div class="method_details ">
735
+ <h3 class="signature " id="weight-instance_method">
736
+
737
+ - (<tt>Object</tt>) <strong>weight</strong>
738
+
739
+
740
+
741
+
742
+
743
+ </h3><div class="docstring">
744
+ <div class="discussion">
745
+
746
+ <p>Returns the value of attribute weight</p>
747
+
748
+
749
+ </div>
750
+ </div>
751
+ <div class="tags">
752
+
753
+
754
+ </div><table class="source_code">
755
+ <tr>
756
+ <td>
757
+ <pre class="lines">
758
+
759
+
760
+ 5
761
+ 6
762
+ 7</pre>
763
+ </td>
764
+ <td>
765
+ <pre class="code"><span class="info file"># File 'lib/openpayu/models/product.rb', line 5</span>
766
+
767
+ <span class='kw'>def</span> <span class='id identifier rubyid_weight'>weight</span>
768
+ <span class='ivar'>@weight</span>
769
+ <span class='kw'>end</span></pre>
770
+ </td>
771
+ </tr>
772
+ </table>
773
+ </div>
774
+
775
+ </div>
776
+
777
+
778
+ </div>
779
+
780
+ <div id="footer">
781
+ Generated on Tue Dec 17 15:21:01 2013 by
782
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
783
+ 0.8.7.2 (ruby-1.9.3).
784
+ </div>
785
+
786
+ </body>
787
+ </html>