patch_ruby 1.9.0 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/Gemfile +1 -2
- data/Gemfile.lock +40 -44
- data/Makefile +2 -2
- data/lib/patch_ruby/api/estimates_api.rb +33 -25
- data/lib/patch_ruby/api/orders_api.rb +21 -16
- data/lib/patch_ruby/api/preferences_api.rb +17 -13
- data/lib/patch_ruby/api/projects_api.rb +9 -7
- data/lib/patch_ruby/api_client.rb +51 -49
- data/lib/patch_ruby/api_error.rb +1 -1
- data/lib/patch_ruby/configuration.rb +38 -9
- data/lib/patch_ruby/models/allocation.rb +21 -11
- data/lib/patch_ruby/models/create_bitcoin_estimate_request.rb +25 -19
- data/lib/patch_ruby/models/create_ethereum_estimate_request.rb +26 -21
- data/lib/patch_ruby/models/create_flight_estimate_request.rb +323 -0
- data/lib/patch_ruby/models/create_mass_estimate_request.rb +22 -13
- data/lib/patch_ruby/models/create_order_request.rb +21 -11
- data/lib/patch_ruby/models/create_preference_request.rb +21 -11
- data/lib/patch_ruby/models/create_shipping_estimate_request.rb +371 -0
- data/lib/patch_ruby/models/create_success_response.rb +247 -0
- data/lib/patch_ruby/models/create_vehicle_estimate_request.rb +326 -0
- data/lib/patch_ruby/models/error_response.rb +22 -13
- data/lib/patch_ruby/models/estimate.rb +22 -13
- data/lib/patch_ruby/models/estimate_list_response.rb +22 -13
- data/lib/patch_ruby/models/estimate_response.rb +22 -13
- data/lib/patch_ruby/models/meta_index_object.rb +23 -15
- data/lib/patch_ruby/models/order.rb +23 -15
- data/lib/patch_ruby/models/order_list_response.rb +22 -13
- data/lib/patch_ruby/models/order_response.rb +22 -13
- data/lib/patch_ruby/models/photo.rb +21 -11
- data/lib/patch_ruby/models/preference.rb +21 -11
- data/lib/patch_ruby/models/preference_list_response.rb +22 -13
- data/lib/patch_ruby/models/preference_response.rb +22 -13
- data/lib/patch_ruby/models/project.rb +24 -17
- data/lib/patch_ruby/models/project_list_response.rb +22 -13
- data/lib/patch_ruby/models/project_response.rb +22 -13
- data/lib/patch_ruby/models/sdg.rb +21 -11
- data/lib/patch_ruby/models/standard.rb +21 -11
- data/lib/patch_ruby/version.rb +2 -2
- data/lib/patch_ruby.rb +5 -1
- data/patch_ruby.gemspec +8 -3
- data/spec/api_client_spec.rb +34 -13
- data/spec/configuration_spec.rb +1 -1
- data/spec/integration/estimates_spec.rb +17 -1
- data/spec/integration/preferences_spec.rb +1 -1
- data/spec/models/create_mass_estimate_request_spec.rb +1 -1
- data/spec/models/error_response_spec.rb +1 -1
- data/spec/models/estimate_list_response_spec.rb +1 -1
- data/spec/models/estimate_response_spec.rb +1 -1
- data/spec/models/estimate_spec.rb +1 -1
- data/spec/models/meta_index_object_spec.rb +1 -1
- data/spec/models/order_list_response_spec.rb +1 -1
- data/spec/models/order_response_spec.rb +1 -1
- data/spec/models/order_spec.rb +1 -1
- data/spec/models/preference_list_response_spec.rb +1 -1
- data/spec/models/preference_response_spec.rb +1 -1
- data/spec/models/project_list_response_spec.rb +1 -1
- data/spec/models/project_response_spec.rb +1 -1
- data/spec/models/project_spec.rb +1 -1
- data/spec/spec_helper.rb +69 -61
- metadata +56 -58
- data/lib/patch_ruby/.api_client.rb.un~ +0 -0
- data/lib/patch_ruby/.configuration.rb.un~ +0 -0
- data/lib/patch_ruby/.version.rb.un~ +0 -0
- data/lib/patch_ruby/api/.orders_api.rb.un~ +0 -0
- data/lib/patch_ruby/models/.create_ethereum_estimate_request.rb.un~ +0 -0
- data/spec/.spec_helper.rb.un~ +0 -0
- data/spec/integration/.estimates_spec.rb.un~ +0 -0
- data/spec/integration/.orders_spec.rb.un~ +0 -0
- data/spec/integration/.preferences_spec.rb.un~ +0 -0
- data/spec/integration/.projects_spec.rb.un~ +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b5dcbbc1ba86e420035b8e08b081f364968a5386427da541a69e4b9879f93c5
|
4
|
+
data.tar.gz: bf2ee708f760cc1d9e06bcf0a762f31a36048a298ac0ef50c4dd5a4755f28a64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 960484aefeea40e249267beab92f89ca4ee784ba023ec98217a49b4d89b6cc419f51ff3968e273c3b7584a0867e50d6ecc91e68e7b6623d6aa8e4b4cee7b1481
|
7
|
+
data.tar.gz: 4f1c8621a5dc19d793796ec27d876fc748aa7409c050d354e3c384e4a0c3fcc16ae02bbd5accd8c4eaf20229e0a3b8841e41040076f2c3877a2ede3ca5b95b96
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,24 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
|
+
## [1.11.0] - 2021-09-07
|
9
|
+
|
10
|
+
### Added
|
11
|
+
|
12
|
+
- Adds support for airports, aircracts, cabin class and passenger count in flight estimates
|
13
|
+
|
14
|
+
## [1.10.2] - 2021-09-01
|
15
|
+
|
16
|
+
### Fixed
|
17
|
+
|
18
|
+
- Allows methods to be called with no parameters
|
19
|
+
|
20
|
+
## [1.10.0] - 2021-08-27
|
21
|
+
|
22
|
+
### Added
|
23
|
+
|
24
|
+
- Adds custom User-Agent header
|
25
|
+
|
8
26
|
## [1.9.0] - 2021-08-17
|
9
27
|
|
10
28
|
### Added
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,89 +1,85 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
patch_ruby (1.
|
5
|
-
json (~> 2.1, >= 2.1.0)
|
4
|
+
patch_ruby (1.11.0)
|
6
5
|
typhoeus (~> 1.0, >= 1.0.1)
|
7
6
|
|
8
7
|
GEM
|
9
8
|
remote: https://rubygems.org/
|
10
9
|
specs:
|
11
|
-
activesupport (6.1.1)
|
10
|
+
activesupport (6.1.4.1)
|
12
11
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
12
|
i18n (>= 1.6, < 2)
|
14
13
|
minitest (>= 5.1)
|
15
14
|
tzinfo (~> 2.0)
|
16
15
|
zeitwerk (~> 2.3)
|
17
|
-
ast (2.4.
|
16
|
+
ast (2.4.2)
|
18
17
|
byebug (11.1.3)
|
19
18
|
coderay (1.1.3)
|
20
|
-
concurrent-ruby (1.1.
|
21
|
-
diff-lcs (1.4.
|
19
|
+
concurrent-ruby (1.1.9)
|
20
|
+
diff-lcs (1.4.4)
|
22
21
|
ethon (0.14.0)
|
23
22
|
ffi (>= 1.15.0)
|
24
|
-
factory_bot (6.
|
23
|
+
factory_bot (6.2.0)
|
25
24
|
activesupport (>= 5.0.0)
|
26
|
-
ffi (1.15.
|
27
|
-
i18n (1.8.
|
25
|
+
ffi (1.15.4)
|
26
|
+
i18n (1.8.10)
|
28
27
|
concurrent-ruby (~> 1.0)
|
29
|
-
|
28
|
+
jaro_winkler (1.5.4)
|
30
29
|
method_source (1.0.0)
|
31
|
-
minitest (5.14.
|
32
|
-
parallel (1.
|
33
|
-
parser (
|
30
|
+
minitest (5.14.4)
|
31
|
+
parallel (1.20.1)
|
32
|
+
parser (3.0.2.0)
|
34
33
|
ast (~> 2.4.1)
|
35
|
-
pry (0.
|
34
|
+
pry (0.14.1)
|
36
35
|
coderay (~> 1.1)
|
37
36
|
method_source (~> 1.0)
|
38
|
-
pry-byebug (3.
|
37
|
+
pry-byebug (3.8.0)
|
39
38
|
byebug (~> 11.0)
|
40
|
-
pry (~> 0.
|
39
|
+
pry (~> 0.10)
|
40
|
+
psych (4.0.1)
|
41
41
|
rainbow (3.0.0)
|
42
|
-
rake (13.0.
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
rspec-
|
47
|
-
|
48
|
-
rspec-
|
49
|
-
rspec-
|
50
|
-
rspec-support (~> 3.9.3)
|
51
|
-
rspec-expectations (3.9.2)
|
42
|
+
rake (13.0.6)
|
43
|
+
rspec (3.10.0)
|
44
|
+
rspec-core (~> 3.10.0)
|
45
|
+
rspec-expectations (~> 3.10.0)
|
46
|
+
rspec-mocks (~> 3.10.0)
|
47
|
+
rspec-core (3.10.1)
|
48
|
+
rspec-support (~> 3.10.0)
|
49
|
+
rspec-expectations (3.10.1)
|
52
50
|
diff-lcs (>= 1.2.0, < 2.0)
|
53
|
-
rspec-support (~> 3.
|
54
|
-
rspec-mocks (3.
|
51
|
+
rspec-support (~> 3.10.0)
|
52
|
+
rspec-mocks (3.10.2)
|
55
53
|
diff-lcs (>= 1.2.0, < 2.0)
|
56
|
-
rspec-support (~> 3.
|
57
|
-
rspec-support (3.
|
58
|
-
rubocop (0.
|
54
|
+
rspec-support (~> 3.10.0)
|
55
|
+
rspec-support (3.10.2)
|
56
|
+
rubocop (0.66.0)
|
57
|
+
jaro_winkler (~> 1.5.1)
|
59
58
|
parallel (~> 1.10)
|
60
|
-
parser (>= 2.
|
59
|
+
parser (>= 2.5, != 2.5.1.1)
|
60
|
+
psych (>= 3.1.0)
|
61
61
|
rainbow (>= 2.2.2, < 4.0)
|
62
|
-
regexp_parser (>= 1.7)
|
63
|
-
rexml
|
64
|
-
rubocop-ast (>= 0.1.0, < 1.0)
|
65
62
|
ruby-progressbar (~> 1.7)
|
66
|
-
unicode-display_width (>= 1.4.0, <
|
67
|
-
|
68
|
-
parser (>= 2.7.1.4)
|
69
|
-
ruby-progressbar (1.10.1)
|
63
|
+
unicode-display_width (>= 1.4.0, < 1.6)
|
64
|
+
ruby-progressbar (1.11.0)
|
70
65
|
typhoeus (1.4.0)
|
71
66
|
ethon (>= 0.9.0)
|
72
67
|
tzinfo (2.0.4)
|
73
68
|
concurrent-ruby (~> 1.0)
|
74
|
-
unicode-display_width (1.
|
69
|
+
unicode-display_width (1.5.0)
|
75
70
|
zeitwerk (2.4.2)
|
76
71
|
|
77
72
|
PLATFORMS
|
78
|
-
|
73
|
+
x86_64-darwin-20
|
79
74
|
|
80
75
|
DEPENDENCIES
|
81
|
-
factory_bot
|
76
|
+
factory_bot (~> 6.2)
|
82
77
|
patch_ruby!
|
78
|
+
pry
|
83
79
|
pry-byebug
|
84
80
|
rake (~> 13.0.1)
|
85
81
|
rspec (~> 3.6, >= 3.6.0)
|
86
|
-
rubocop
|
82
|
+
rubocop (~> 0.66.0)
|
87
83
|
|
88
84
|
BUNDLED WITH
|
89
|
-
2.2.
|
85
|
+
2.2.22
|
data/Makefile
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
7
|
Contact: developers@usepatch.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 5.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -70,15 +70,16 @@ module Patch
|
|
70
70
|
form_params = opts[:form_params] || {}
|
71
71
|
|
72
72
|
# http body (model)
|
73
|
-
post_body = opts[:
|
73
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_bitcoin_estimate_request)
|
74
74
|
|
75
75
|
# return_type
|
76
|
-
return_type = opts[:
|
76
|
+
return_type = opts[:debug_return_type] || 'EstimateResponse'
|
77
77
|
|
78
78
|
# auth_names
|
79
|
-
auth_names = opts[:
|
79
|
+
auth_names = opts[:debug_auth_names] || ['bearer_auth']
|
80
80
|
|
81
81
|
new_options = opts.merge(
|
82
|
+
:operation => :"EstimatesApi.create_bitcoin_estimate",
|
82
83
|
:header_params => header_params,
|
83
84
|
:query_params => query_params,
|
84
85
|
:form_params => form_params,
|
@@ -134,15 +135,16 @@ module Patch
|
|
134
135
|
form_params = opts[:form_params] || {}
|
135
136
|
|
136
137
|
# http body (model)
|
137
|
-
post_body = opts[:
|
138
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_ethereum_estimate_request)
|
138
139
|
|
139
140
|
# return_type
|
140
|
-
return_type = opts[:
|
141
|
+
return_type = opts[:debug_return_type] || 'EstimateResponse'
|
141
142
|
|
142
143
|
# auth_names
|
143
|
-
auth_names = opts[:
|
144
|
+
auth_names = opts[:debug_auth_names] || ['bearer_auth']
|
144
145
|
|
145
146
|
new_options = opts.merge(
|
147
|
+
:operation => :"EstimatesApi.create_ethereum_estimate",
|
146
148
|
:header_params => header_params,
|
147
149
|
:query_params => query_params,
|
148
150
|
:form_params => form_params,
|
@@ -198,15 +200,16 @@ module Patch
|
|
198
200
|
form_params = opts[:form_params] || {}
|
199
201
|
|
200
202
|
# http body (model)
|
201
|
-
post_body = opts[:
|
203
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_flight_estimate_request)
|
202
204
|
|
203
205
|
# return_type
|
204
|
-
return_type = opts[:
|
206
|
+
return_type = opts[:debug_return_type] || 'EstimateResponse'
|
205
207
|
|
206
208
|
# auth_names
|
207
|
-
auth_names = opts[:
|
209
|
+
auth_names = opts[:debug_auth_names] || ['bearer_auth']
|
208
210
|
|
209
211
|
new_options = opts.merge(
|
212
|
+
:operation => :"EstimatesApi.create_flight_estimate",
|
210
213
|
:header_params => header_params,
|
211
214
|
:query_params => query_params,
|
212
215
|
:form_params => form_params,
|
@@ -262,15 +265,16 @@ module Patch
|
|
262
265
|
form_params = opts[:form_params] || {}
|
263
266
|
|
264
267
|
# http body (model)
|
265
|
-
post_body = opts[:
|
268
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_mass_estimate_request)
|
266
269
|
|
267
270
|
# return_type
|
268
|
-
return_type = opts[:
|
271
|
+
return_type = opts[:debug_return_type] || 'EstimateResponse'
|
269
272
|
|
270
273
|
# auth_names
|
271
|
-
auth_names = opts[:
|
274
|
+
auth_names = opts[:debug_auth_names] || ['bearer_auth']
|
272
275
|
|
273
276
|
new_options = opts.merge(
|
277
|
+
:operation => :"EstimatesApi.create_mass_estimate",
|
274
278
|
:header_params => header_params,
|
275
279
|
:query_params => query_params,
|
276
280
|
:form_params => form_params,
|
@@ -326,15 +330,16 @@ module Patch
|
|
326
330
|
form_params = opts[:form_params] || {}
|
327
331
|
|
328
332
|
# http body (model)
|
329
|
-
post_body = opts[:
|
333
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_shipping_estimate_request)
|
330
334
|
|
331
335
|
# return_type
|
332
|
-
return_type = opts[:
|
336
|
+
return_type = opts[:debug_return_type] || 'EstimateResponse'
|
333
337
|
|
334
338
|
# auth_names
|
335
|
-
auth_names = opts[:
|
339
|
+
auth_names = opts[:debug_auth_names] || ['bearer_auth']
|
336
340
|
|
337
341
|
new_options = opts.merge(
|
342
|
+
:operation => :"EstimatesApi.create_shipping_estimate",
|
338
343
|
:header_params => header_params,
|
339
344
|
:query_params => query_params,
|
340
345
|
:form_params => form_params,
|
@@ -390,15 +395,16 @@ module Patch
|
|
390
395
|
form_params = opts[:form_params] || {}
|
391
396
|
|
392
397
|
# http body (model)
|
393
|
-
post_body = opts[:
|
398
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_vehicle_estimate_request)
|
394
399
|
|
395
400
|
# return_type
|
396
|
-
return_type = opts[:
|
401
|
+
return_type = opts[:debug_return_type] || 'EstimateResponse'
|
397
402
|
|
398
403
|
# auth_names
|
399
|
-
auth_names = opts[:
|
404
|
+
auth_names = opts[:debug_auth_names] || ['bearer_auth']
|
400
405
|
|
401
406
|
new_options = opts.merge(
|
407
|
+
:operation => :"EstimatesApi.create_vehicle_estimate",
|
402
408
|
:header_params => header_params,
|
403
409
|
:query_params => query_params,
|
404
410
|
:form_params => form_params,
|
@@ -452,15 +458,16 @@ module Patch
|
|
452
458
|
form_params = opts[:form_params] || {}
|
453
459
|
|
454
460
|
# http body (model)
|
455
|
-
post_body = opts[:
|
461
|
+
post_body = opts[:debug_body]
|
456
462
|
|
457
463
|
# return_type
|
458
|
-
return_type = opts[:
|
464
|
+
return_type = opts[:debug_return_type] || 'EstimateResponse'
|
459
465
|
|
460
466
|
# auth_names
|
461
|
-
auth_names = opts[:
|
467
|
+
auth_names = opts[:debug_auth_names] || ['bearer_auth']
|
462
468
|
|
463
469
|
new_options = opts.merge(
|
470
|
+
:operation => :"EstimatesApi.retrieve_estimate",
|
464
471
|
:header_params => header_params,
|
465
472
|
:query_params => query_params,
|
466
473
|
:form_params => form_params,
|
@@ -511,15 +518,16 @@ module Patch
|
|
511
518
|
form_params = opts[:form_params] || {}
|
512
519
|
|
513
520
|
# http body (model)
|
514
|
-
post_body = opts[:
|
521
|
+
post_body = opts[:debug_body]
|
515
522
|
|
516
523
|
# return_type
|
517
|
-
return_type = opts[:
|
524
|
+
return_type = opts[:debug_return_type] || 'EstimateListResponse'
|
518
525
|
|
519
526
|
# auth_names
|
520
|
-
auth_names = opts[:
|
527
|
+
auth_names = opts[:debug_auth_names] || ['bearer_auth']
|
521
528
|
|
522
529
|
new_options = opts.merge(
|
530
|
+
:operation => :"EstimatesApi.retrieve_estimates",
|
523
531
|
:header_params => header_params,
|
524
532
|
:query_params => query_params,
|
525
533
|
:form_params => form_params,
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
7
|
Contact: developers@usepatch.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 5.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -65,15 +65,16 @@ module Patch
|
|
65
65
|
form_params = opts[:form_params] || {}
|
66
66
|
|
67
67
|
# http body (model)
|
68
|
-
post_body = opts[:
|
68
|
+
post_body = opts[:debug_body]
|
69
69
|
|
70
70
|
# return_type
|
71
|
-
return_type = opts[:
|
71
|
+
return_type = opts[:debug_return_type] || 'OrderResponse'
|
72
72
|
|
73
73
|
# auth_names
|
74
|
-
auth_names = opts[:
|
74
|
+
auth_names = opts[:debug_auth_names] || ['bearer_auth']
|
75
75
|
|
76
76
|
new_options = opts.merge(
|
77
|
+
:operation => :"OrdersApi.cancel_order",
|
77
78
|
:header_params => header_params,
|
78
79
|
:query_params => query_params,
|
79
80
|
:form_params => form_params,
|
@@ -129,15 +130,16 @@ module Patch
|
|
129
130
|
form_params = opts[:form_params] || {}
|
130
131
|
|
131
132
|
# http body (model)
|
132
|
-
post_body = opts[:
|
133
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_order_request)
|
133
134
|
|
134
135
|
# return_type
|
135
|
-
return_type = opts[:
|
136
|
+
return_type = opts[:debug_return_type] || 'OrderResponse'
|
136
137
|
|
137
138
|
# auth_names
|
138
|
-
auth_names = opts[:
|
139
|
+
auth_names = opts[:debug_auth_names] || ['bearer_auth']
|
139
140
|
|
140
141
|
new_options = opts.merge(
|
142
|
+
:operation => :"OrdersApi.create_order",
|
141
143
|
:header_params => header_params,
|
142
144
|
:query_params => query_params,
|
143
145
|
:form_params => form_params,
|
@@ -191,15 +193,16 @@ module Patch
|
|
191
193
|
form_params = opts[:form_params] || {}
|
192
194
|
|
193
195
|
# http body (model)
|
194
|
-
post_body = opts[:
|
196
|
+
post_body = opts[:debug_body]
|
195
197
|
|
196
198
|
# return_type
|
197
|
-
return_type = opts[:
|
199
|
+
return_type = opts[:debug_return_type] || 'OrderResponse'
|
198
200
|
|
199
201
|
# auth_names
|
200
|
-
auth_names = opts[:
|
202
|
+
auth_names = opts[:debug_auth_names] || ['bearer_auth']
|
201
203
|
|
202
204
|
new_options = opts.merge(
|
205
|
+
:operation => :"OrdersApi.place_order",
|
203
206
|
:header_params => header_params,
|
204
207
|
:query_params => query_params,
|
205
208
|
:form_params => form_params,
|
@@ -253,15 +256,16 @@ module Patch
|
|
253
256
|
form_params = opts[:form_params] || {}
|
254
257
|
|
255
258
|
# http body (model)
|
256
|
-
post_body = opts[:
|
259
|
+
post_body = opts[:debug_body]
|
257
260
|
|
258
261
|
# return_type
|
259
|
-
return_type = opts[:
|
262
|
+
return_type = opts[:debug_return_type] || 'OrderResponse'
|
260
263
|
|
261
264
|
# auth_names
|
262
|
-
auth_names = opts[:
|
265
|
+
auth_names = opts[:debug_auth_names] || ['bearer_auth']
|
263
266
|
|
264
267
|
new_options = opts.merge(
|
268
|
+
:operation => :"OrdersApi.retrieve_order",
|
265
269
|
:header_params => header_params,
|
266
270
|
:query_params => query_params,
|
267
271
|
:form_params => form_params,
|
@@ -321,15 +325,16 @@ module Patch
|
|
321
325
|
form_params = opts[:form_params] || {}
|
322
326
|
|
323
327
|
# http body (model)
|
324
|
-
post_body = opts[:
|
328
|
+
post_body = opts[:debug_body]
|
325
329
|
|
326
330
|
# return_type
|
327
|
-
return_type = opts[:
|
331
|
+
return_type = opts[:debug_return_type] || 'OrderListResponse'
|
328
332
|
|
329
333
|
# auth_names
|
330
|
-
auth_names = opts[:
|
334
|
+
auth_names = opts[:debug_auth_names] || ['bearer_auth']
|
331
335
|
|
332
336
|
new_options = opts.merge(
|
337
|
+
:operation => :"OrdersApi.retrieve_orders",
|
333
338
|
:header_params => header_params,
|
334
339
|
:query_params => query_params,
|
335
340
|
:form_params => form_params,
|