openpayu 0.0.2 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/README.md +26 -21
- data/doc/EmptyResponseError.html +4 -4
- data/doc/HttpStatusException.html +4 -4
- data/doc/NotImplementedException.html +4 -4
- data/doc/OpenPayU.html +13 -13
- data/doc/OpenPayU/Configuration.html +19 -17
- data/doc/OpenPayU/Connection.html +35 -43
- data/doc/OpenPayU/Document.html +24 -228
- data/doc/OpenPayU/Documents.html +4 -4
- data/doc/OpenPayU/Documents/Request.html +5 -5
- data/doc/OpenPayU/Documents/Response.html +72 -120
- data/doc/OpenPayU/Models.html +5 -5
- data/doc/OpenPayU/Models/Address.html +5 -6
- data/doc/OpenPayU/Models/Buyer.html +5 -6
- data/doc/OpenPayU/Models/Buyer/Delivery.html +5 -6
- data/doc/OpenPayU/Models/Card.html +5 -6
- data/doc/OpenPayU/Models/Fee.html +5 -6
- data/doc/OpenPayU/Models/Model.html +122 -207
- data/doc/OpenPayU/Models/NotifyResponse.html +5 -6
- data/doc/OpenPayU/Models/Order.html +8 -9
- data/doc/OpenPayU/Models/PayMethod.html +5 -6
- data/doc/OpenPayU/Models/Product.html +5 -6
- data/doc/OpenPayU/Models/Refund.html +13 -102
- data/doc/OpenPayU/Models/ShippingMethod.html +13 -14
- data/doc/OpenPayU/Models/StatusUpdate.html +5 -6
- data/doc/OpenPayU/Models/Token.html +5 -6
- data/doc/OpenPayU/Order.html +53 -89
- data/doc/OpenPayU/Refund.html +6 -18
- data/doc/OpenPayU/Token.html +4 -4
- data/doc/WrongConfigurationError.html +4 -4
- data/doc/WrongNotifyRequest.html +4 -4
- data/doc/WrongOrderParameters.html +4 -4
- data/doc/WrongSignatureException.html +4 -4
- data/doc/_index.html +13 -31
- data/doc/class_list.html +1 -1
- data/doc/css/style.css +2 -1
- data/doc/file.README.html +38 -30
- data/doc/frames.html +1 -1
- data/doc/index.html +38 -30
- data/doc/js/app.js +7 -2
- data/doc/method_list.html +78 -120
- data/doc/top-level-namespace.html +4 -4
- data/lib/openpayu.rb +0 -1
- data/lib/openpayu/configuration.rb +1 -0
- data/lib/openpayu/connection.rb +28 -19
- data/lib/openpayu/document.rb +2 -38
- data/lib/openpayu/documents/response.rb +9 -20
- data/lib/openpayu/models/model.rb +4 -25
- data/lib/openpayu/models/order.rb +0 -1
- data/lib/openpayu/models/refund.rb +5 -27
- data/lib/openpayu/models/shipping_method.rb +2 -2
- data/lib/openpayu/order.rb +7 -25
- data/lib/openpayu/refund.rb +1 -7
- data/lib/openpayu/version.rb +1 -1
- data/openpayu_ruby.gemspec +0 -4
- data/spec/cassettes/cancel_order.yml +17 -26
- data/spec/cassettes/create_order.yml +19 -29
- data/spec/cassettes/retrieve_order.yml +18 -27
- data/spec/cassettes/update_order.yml +19 -28
- data/spec/integration/order_spec.rb +65 -78
- data/spec/openpayu.yml +2 -2
- data/spec/spec_helper.rb +5 -5
- data/spec/test_objects/order.rb +31 -56
- data/spec/unit/configuration_spec.rb +1 -1
- data/spec/unit/models/order_spec.rb +4 -34
- data/spec/unit/openpayu_spec.rb +2 -5
- metadata +55 -87
- data/lib/openpayu/xml_builder.rb +0 -23
- data/spec/cassettes/refund_order.yml +0 -100
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: OpenPayU::Models::NotifyResponse
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.4
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!"
|
20
|
+
framesUrl = "../../frames.html#!OpenPayU/Models/NotifyResponse.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -182,10 +182,9 @@
|
|
182
182
|
<h2>Method Summary</h2>
|
183
183
|
|
184
184
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Model.html" title="OpenPayU::Models::Model (class)">Model</a></span></h3>
|
185
|
-
<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#
|
185
|
+
<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#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>
|
186
186
|
|
187
187
|
|
188
|
-
|
189
188
|
<div id="constructor_details" class="method_details_list">
|
190
189
|
<h2>Constructor Details</h2>
|
191
190
|
|
@@ -288,9 +287,9 @@
|
|
288
287
|
</div>
|
289
288
|
|
290
289
|
<div id="footer">
|
291
|
-
Generated on
|
290
|
+
Generated on Thu May 29 15:14:00 2014 by
|
292
291
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
293
|
-
0.8.7.
|
292
|
+
0.8.7.4 (ruby-1.9.3).
|
294
293
|
</div>
|
295
294
|
|
296
295
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: OpenPayU::Models::Order
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.4
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!"
|
20
|
+
framesUrl = "../../frames.html#!OpenPayU/Models/Order.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -525,10 +525,9 @@
|
|
525
525
|
|
526
526
|
|
527
527
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Model.html" title="OpenPayU::Models::Model (class)">Model</a></span></h3>
|
528
|
-
<p class="inherited"><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#
|
528
|
+
<p class="inherited"><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#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>
|
529
529
|
|
530
530
|
|
531
|
-
|
532
531
|
<div id="constructor_details" class="method_details_list">
|
533
532
|
<h2>Constructor Details</h2>
|
534
533
|
|
@@ -1120,15 +1119,15 @@
|
|
1120
1119
|
<pre class="lines">
|
1121
1120
|
|
1122
1121
|
|
1122
|
+
19
|
1123
1123
|
20
|
1124
1124
|
21
|
1125
1125
|
22
|
1126
1126
|
23
|
1127
|
-
24
|
1128
|
-
25</pre>
|
1127
|
+
24</pre>
|
1129
1128
|
</td>
|
1130
1129
|
<td>
|
1131
|
-
<pre class="code"><span class="info file"># File 'lib/openpayu/models/order.rb', line
|
1130
|
+
<pre class="code"><span class="info file"># File 'lib/openpayu/models/order.rb', line 19</span>
|
1132
1131
|
|
1133
1132
|
<span class='kw'>def</span> <span class='id identifier rubyid_after_initialize'>after_initialize</span>
|
1134
1133
|
<span class='ivar'>@req_id</span> <span class='op'>||=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>{</span><span class='embexpr_beg'>#{</span><span class='const'>SecureRandom</span><span class='period'>.</span><span class='id identifier rubyid_uuid'>uuid</span><span class='rbrace'>}</span><span class='tstring_content'>}</span><span class='tstring_end'>"</span></span>
|
@@ -1146,9 +1145,9 @@
|
|
1146
1145
|
</div>
|
1147
1146
|
|
1148
1147
|
<div id="footer">
|
1149
|
-
Generated on
|
1148
|
+
Generated on Thu May 29 15:13:59 2014 by
|
1150
1149
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1151
|
-
0.8.7.
|
1150
|
+
0.8.7.4 (ruby-1.9.3).
|
1152
1151
|
</div>
|
1153
1152
|
|
1154
1153
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: OpenPayU::Models::PayMethod
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.4
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!"
|
20
|
+
framesUrl = "../../frames.html#!OpenPayU/Models/PayMethod.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -263,10 +263,9 @@
|
|
263
263
|
<h2>Method Summary</h2>
|
264
264
|
|
265
265
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Model.html" title="OpenPayU::Models::Model (class)">Model</a></span></h3>
|
266
|
-
<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#
|
266
|
+
<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#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>
|
267
267
|
|
268
268
|
|
269
|
-
|
270
269
|
<div id="constructor_details" class="method_details_list">
|
271
270
|
<h2>Constructor Details</h2>
|
272
271
|
|
@@ -498,9 +497,9 @@
|
|
498
497
|
</div>
|
499
498
|
|
500
499
|
<div id="footer">
|
501
|
-
Generated on
|
500
|
+
Generated on Thu May 29 15:14:00 2014 by
|
502
501
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
503
|
-
0.8.7.
|
502
|
+
0.8.7.4 (ruby-1.9.3).
|
504
503
|
</div>
|
505
504
|
|
506
505
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: OpenPayU::Models::Product
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.4
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!"
|
20
|
+
framesUrl = "../../frames.html#!OpenPayU/Models/Product.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -371,10 +371,9 @@
|
|
371
371
|
<h2>Method Summary</h2>
|
372
372
|
|
373
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#
|
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#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
375
|
|
376
376
|
|
377
|
-
|
378
377
|
<div id="constructor_details" class="method_details_list">
|
379
378
|
<h2>Constructor Details</h2>
|
380
379
|
|
@@ -778,9 +777,9 @@
|
|
778
777
|
</div>
|
779
778
|
|
780
779
|
<div id="footer">
|
781
|
-
Generated on
|
780
|
+
Generated on Thu May 29 15:14:00 2014 by
|
782
781
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
783
|
-
0.8.7.
|
782
|
+
0.8.7.4 (ruby-1.9.3).
|
784
783
|
</div>
|
785
784
|
|
786
785
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: OpenPayU::Models::Refund
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.4
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!"
|
20
|
+
framesUrl = "../../frames.html#!OpenPayU/Models/Refund.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -399,29 +399,7 @@
|
|
399
399
|
<li class="public ">
|
400
400
|
<span class="summary_signature">
|
401
401
|
|
402
|
-
<a href="#
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
</span>
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
417
|
-
|
418
|
-
</li>
|
419
|
-
|
420
|
-
|
421
|
-
<li class="public ">
|
422
|
-
<span class="summary_signature">
|
423
|
-
|
424
|
-
<a href="#prepare_data-instance_method" title="#prepare_data (instance method)">- (Object) <strong>prepare_data</strong>(request_type) </a>
|
402
|
+
<a href="#prepare_data-instance_method" title="#prepare_data (instance method)">- (Object) <strong>prepare_data</strong> </a>
|
425
403
|
|
426
404
|
|
427
405
|
|
@@ -456,7 +434,6 @@
|
|
456
434
|
<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#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_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>
|
457
435
|
|
458
436
|
|
459
|
-
|
460
437
|
<div id="constructor_details" class="method_details_list">
|
461
438
|
<h2>Constructor Details</h2>
|
462
439
|
|
@@ -905,59 +882,9 @@
|
|
905
882
|
|
906
883
|
|
907
884
|
<div class="method_details first">
|
908
|
-
<h3 class="signature first" id="
|
909
|
-
|
910
|
-
- (<tt>Object</tt>) <strong>generate_xml</strong>(request_type)
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
</h3><table class="source_code">
|
917
|
-
<tr>
|
918
|
-
<td>
|
919
|
-
<pre class="lines">
|
920
|
-
|
921
|
-
|
922
|
-
25
|
923
|
-
26
|
924
|
-
27
|
925
|
-
28
|
926
|
-
29
|
927
|
-
30
|
928
|
-
31
|
929
|
-
32
|
930
|
-
33
|
931
|
-
34
|
932
|
-
35
|
933
|
-
36
|
934
|
-
37</pre>
|
935
|
-
</td>
|
936
|
-
<td>
|
937
|
-
<pre class="code"><span class="info file"># File 'lib/openpayu/models/refund.rb', line 25</span>
|
938
|
-
|
939
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_generate_xml'>generate_xml</span><span class='lparen'>(</span><span class='id identifier rubyid_request_type'>request_type</span><span class='rparen'>)</span>
|
940
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'><?xml version="1.0" encoding="UTF-8"?>
|
941
|
-
<OpenPayU xmlns="http://www.openpayu.com/20/openpayu.xsd"></span><span class='tstring_end'>'</span></span> <span class='op'>+</span>
|
942
|
-
<span class='id identifier rubyid_prepare_keys'>prepare_keys</span><span class='lparen'>(</span><span class='lbrace'>{</span>
|
943
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>OrderId</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='ivar'>@order_id</span><span class='comma'>,</span>
|
944
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Refund</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='id identifier rubyid_prepare_keys'>prepare_keys</span><span class='lparen'>(</span><span class='id identifier rubyid_instance_values'>instance_values</span><span class='rparen'>)</span>
|
945
|
-
<span class='rbrace'>}</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_to_xml'>to_xml</span><span class='lparen'>(</span>
|
946
|
-
<span class='label'>builder:</span> <span class='const'>OpenPayU</span><span class='op'>::</span><span class='const'>XmlBuilder</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_request_type'>request_type</span><span class='comma'>,</span> <span class='label'>indent:</span> <span class='int'>2</span><span class='rparen'>)</span><span class='comma'>,</span>
|
947
|
-
<span class='label'>root:</span> <span class='id identifier rubyid_request_type'>request_type</span><span class='comma'>,</span>
|
948
|
-
<span class='label'>skip_types:</span> <span class='kw'>true</span><span class='comma'>,</span>
|
949
|
-
<span class='label'>skip_instruct:</span> <span class='kw'>true</span>
|
950
|
-
<span class='rparen'>)</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'></OpenPayU></span><span class='tstring_end'>'</span></span>
|
951
|
-
<span class='kw'>end</span></pre>
|
952
|
-
</td>
|
953
|
-
</tr>
|
954
|
-
</table>
|
955
|
-
</div>
|
956
|
-
|
957
|
-
<div class="method_details ">
|
958
|
-
<h3 class="signature " id="prepare_data-instance_method">
|
885
|
+
<h3 class="signature first" id="prepare_data-instance_method">
|
959
886
|
|
960
|
-
- (<tt>Object</tt>) <strong>prepare_data</strong>
|
887
|
+
- (<tt>Object</tt>) <strong>prepare_data</strong>
|
961
888
|
|
962
889
|
|
963
890
|
|
@@ -974,32 +901,16 @@
|
|
974
901
|
12
|
975
902
|
13
|
976
903
|
14
|
977
|
-
15
|
978
|
-
16
|
979
|
-
17
|
980
|
-
18
|
981
|
-
19
|
982
|
-
20
|
983
|
-
21
|
984
|
-
22
|
985
|
-
23</pre>
|
904
|
+
15</pre>
|
986
905
|
</td>
|
987
906
|
<td>
|
988
907
|
<pre class="code"><span class="info file"># File 'lib/openpayu/models/refund.rb', line 10</span>
|
989
908
|
|
990
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_prepare_data'>prepare_data</span
|
991
|
-
<span class='
|
992
|
-
<span class='
|
993
|
-
|
994
|
-
|
995
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>OpenPayU</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='lbrace'>{</span>
|
996
|
-
<span class='id identifier rubyid_request_type'>request_type</span> <span class='op'>=></span> <span class='lbrace'>{</span>
|
997
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>OrderId</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='ivar'>@order_id</span><span class='comma'>,</span>
|
998
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Refund</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='id identifier rubyid_prepare_keys'>prepare_keys</span><span class='lparen'>(</span><span class='id identifier rubyid_instance_values'>instance_values</span><span class='rparen'>)</span>
|
999
|
-
<span class='rbrace'>}</span>
|
1000
|
-
<span class='rbrace'>}</span>
|
1001
|
-
<span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_to_json'>to_json</span>
|
1002
|
-
<span class='kw'>end</span>
|
909
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_prepare_data'>prepare_data</span>
|
910
|
+
<span class='lbrace'>{</span>
|
911
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>orderId</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='ivar'>@order_id</span><span class='comma'>,</span>
|
912
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>refund</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='id identifier rubyid_prepare_keys'>prepare_keys</span><span class='lparen'>(</span><span class='lbrace'>{</span><span class='rbrace'>}</span> <span class='comma'>,</span> <span class='id identifier rubyid_instance_values'>instance_values</span><span class='period'>.</span><span class='id identifier rubyid_except'>except</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>order_id</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
|
913
|
+
<span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_to_json'>to_json</span>
|
1003
914
|
<span class='kw'>end</span></pre>
|
1004
915
|
</td>
|
1005
916
|
</tr>
|
@@ -1011,9 +922,9 @@
|
|
1011
922
|
</div>
|
1012
923
|
|
1013
924
|
<div id="footer">
|
1014
|
-
Generated on
|
925
|
+
Generated on Thu May 29 15:13:59 2014 by
|
1015
926
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1016
|
-
0.8.7.
|
927
|
+
0.8.7.4 (ruby-1.9.3).
|
1017
928
|
</div>
|
1018
929
|
|
1019
930
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: OpenPayU::Models::ShippingMethod
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.4
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!"
|
20
|
+
framesUrl = "../../frames.html#!OpenPayU/Models/ShippingMethod.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -138,7 +138,7 @@
|
|
138
138
|
<li class="public ">
|
139
139
|
<span class="summary_signature">
|
140
140
|
|
141
|
-
<a href="#
|
141
|
+
<a href="#name-instance_method" title="#name (instance method)">- (Object) <strong>name</strong> </a>
|
142
142
|
|
143
143
|
|
144
144
|
|
@@ -156,7 +156,7 @@
|
|
156
156
|
|
157
157
|
|
158
158
|
<span class="summary_desc"><div class='inline'>
|
159
|
-
<p>Returns the value of attribute
|
159
|
+
<p>Returns the value of attribute name.</p>
|
160
160
|
</div></span>
|
161
161
|
|
162
162
|
</li>
|
@@ -209,10 +209,9 @@
|
|
209
209
|
<h2>Method Summary</h2>
|
210
210
|
|
211
211
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Model.html" title="OpenPayU::Models::Model (class)">Model</a></span></h3>
|
212
|
-
<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#
|
212
|
+
<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#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>
|
213
213
|
|
214
214
|
|
215
|
-
|
216
215
|
<div id="constructor_details" class="method_details_list">
|
217
216
|
<h2>Constructor Details</h2>
|
218
217
|
|
@@ -267,11 +266,11 @@
|
|
267
266
|
</div>
|
268
267
|
|
269
268
|
|
270
|
-
<span id="
|
269
|
+
<span id="name=-instance_method"></span>
|
271
270
|
<div class="method_details ">
|
272
|
-
<h3 class="signature " id="
|
271
|
+
<h3 class="signature " id="name-instance_method">
|
273
272
|
|
274
|
-
- (<tt>Object</tt>) <strong>
|
273
|
+
- (<tt>Object</tt>) <strong>name</strong>
|
275
274
|
|
276
275
|
|
277
276
|
|
@@ -280,7 +279,7 @@
|
|
280
279
|
</h3><div class="docstring">
|
281
280
|
<div class="discussion">
|
282
281
|
|
283
|
-
<p>Returns the value of attribute
|
282
|
+
<p>Returns the value of attribute name</p>
|
284
283
|
|
285
284
|
|
286
285
|
</div>
|
@@ -301,8 +300,8 @@
|
|
301
300
|
<td>
|
302
301
|
<pre class="code"><span class="info file"># File 'lib/openpayu/models/shipping_method.rb', line 5</span>
|
303
302
|
|
304
|
-
<span class='kw'>def</span> <span class='id identifier
|
305
|
-
<span class='ivar'>@
|
303
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
|
304
|
+
<span class='ivar'>@name</span>
|
306
305
|
<span class='kw'>end</span></pre>
|
307
306
|
</td>
|
308
307
|
</tr>
|
@@ -358,9 +357,9 @@
|
|
358
357
|
</div>
|
359
358
|
|
360
359
|
<div id="footer">
|
361
|
-
Generated on
|
360
|
+
Generated on Thu May 29 15:14:00 2014 by
|
362
361
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
363
|
-
0.8.7.
|
362
|
+
0.8.7.4 (ruby-1.9.3).
|
364
363
|
</div>
|
365
364
|
|
366
365
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: OpenPayU::Models::StatusUpdate
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.4
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!"
|
20
|
+
framesUrl = "../../frames.html#!OpenPayU/Models/StatusUpdate.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -317,10 +317,9 @@
|
|
317
317
|
<h2>Method Summary</h2>
|
318
318
|
|
319
319
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Model.html" title="OpenPayU::Models::Model (class)">Model</a></span></h3>
|
320
|
-
<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#
|
320
|
+
<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#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>
|
321
321
|
|
322
322
|
|
323
|
-
|
324
323
|
<div id="constructor_details" class="method_details_list">
|
325
324
|
<h2>Constructor Details</h2>
|
326
325
|
|
@@ -638,9 +637,9 @@
|
|
638
637
|
</div>
|
639
638
|
|
640
639
|
<div id="footer">
|
641
|
-
Generated on
|
640
|
+
Generated on Thu May 29 15:14:00 2014 by
|
642
641
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
643
|
-
0.8.7.
|
642
|
+
0.8.7.4 (ruby-1.9.3).
|
644
643
|
</div>
|
645
644
|
|
646
645
|
</body>
|