patch_ruby 1.9.0 → 1.11.0

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.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +18 -0
  3. data/Gemfile +1 -2
  4. data/Gemfile.lock +40 -44
  5. data/Makefile +2 -2
  6. data/lib/patch_ruby/api/estimates_api.rb +33 -25
  7. data/lib/patch_ruby/api/orders_api.rb +21 -16
  8. data/lib/patch_ruby/api/preferences_api.rb +17 -13
  9. data/lib/patch_ruby/api/projects_api.rb +9 -7
  10. data/lib/patch_ruby/api_client.rb +51 -49
  11. data/lib/patch_ruby/api_error.rb +1 -1
  12. data/lib/patch_ruby/configuration.rb +38 -9
  13. data/lib/patch_ruby/models/allocation.rb +21 -11
  14. data/lib/patch_ruby/models/create_bitcoin_estimate_request.rb +25 -19
  15. data/lib/patch_ruby/models/create_ethereum_estimate_request.rb +26 -21
  16. data/lib/patch_ruby/models/create_flight_estimate_request.rb +323 -0
  17. data/lib/patch_ruby/models/create_mass_estimate_request.rb +22 -13
  18. data/lib/patch_ruby/models/create_order_request.rb +21 -11
  19. data/lib/patch_ruby/models/create_preference_request.rb +21 -11
  20. data/lib/patch_ruby/models/create_shipping_estimate_request.rb +371 -0
  21. data/lib/patch_ruby/models/create_success_response.rb +247 -0
  22. data/lib/patch_ruby/models/create_vehicle_estimate_request.rb +326 -0
  23. data/lib/patch_ruby/models/error_response.rb +22 -13
  24. data/lib/patch_ruby/models/estimate.rb +22 -13
  25. data/lib/patch_ruby/models/estimate_list_response.rb +22 -13
  26. data/lib/patch_ruby/models/estimate_response.rb +22 -13
  27. data/lib/patch_ruby/models/meta_index_object.rb +23 -15
  28. data/lib/patch_ruby/models/order.rb +23 -15
  29. data/lib/patch_ruby/models/order_list_response.rb +22 -13
  30. data/lib/patch_ruby/models/order_response.rb +22 -13
  31. data/lib/patch_ruby/models/photo.rb +21 -11
  32. data/lib/patch_ruby/models/preference.rb +21 -11
  33. data/lib/patch_ruby/models/preference_list_response.rb +22 -13
  34. data/lib/patch_ruby/models/preference_response.rb +22 -13
  35. data/lib/patch_ruby/models/project.rb +24 -17
  36. data/lib/patch_ruby/models/project_list_response.rb +22 -13
  37. data/lib/patch_ruby/models/project_response.rb +22 -13
  38. data/lib/patch_ruby/models/sdg.rb +21 -11
  39. data/lib/patch_ruby/models/standard.rb +21 -11
  40. data/lib/patch_ruby/version.rb +2 -2
  41. data/lib/patch_ruby.rb +5 -1
  42. data/patch_ruby.gemspec +8 -3
  43. data/spec/api_client_spec.rb +34 -13
  44. data/spec/configuration_spec.rb +1 -1
  45. data/spec/integration/estimates_spec.rb +17 -1
  46. data/spec/integration/preferences_spec.rb +1 -1
  47. data/spec/models/create_mass_estimate_request_spec.rb +1 -1
  48. data/spec/models/error_response_spec.rb +1 -1
  49. data/spec/models/estimate_list_response_spec.rb +1 -1
  50. data/spec/models/estimate_response_spec.rb +1 -1
  51. data/spec/models/estimate_spec.rb +1 -1
  52. data/spec/models/meta_index_object_spec.rb +1 -1
  53. data/spec/models/order_list_response_spec.rb +1 -1
  54. data/spec/models/order_response_spec.rb +1 -1
  55. data/spec/models/order_spec.rb +1 -1
  56. data/spec/models/preference_list_response_spec.rb +1 -1
  57. data/spec/models/preference_response_spec.rb +1 -1
  58. data/spec/models/project_list_response_spec.rb +1 -1
  59. data/spec/models/project_response_spec.rb +1 -1
  60. data/spec/models/project_spec.rb +1 -1
  61. data/spec/spec_helper.rb +69 -61
  62. metadata +56 -58
  63. data/lib/patch_ruby/.api_client.rb.un~ +0 -0
  64. data/lib/patch_ruby/.configuration.rb.un~ +0 -0
  65. data/lib/patch_ruby/.version.rb.un~ +0 -0
  66. data/lib/patch_ruby/api/.orders_api.rb.un~ +0 -0
  67. data/lib/patch_ruby/models/.create_ethereum_estimate_request.rb.un~ +0 -0
  68. data/spec/.spec_helper.rb.un~ +0 -0
  69. data/spec/integration/.estimates_spec.rb.un~ +0 -0
  70. data/spec/integration/.orders_spec.rb.un~ +0 -0
  71. data/spec/integration/.preferences_spec.rb.un~ +0 -0
  72. data/spec/integration/.projects_spec.rb.un~ +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9f4307913b3197f4bf734c1c2f304210445268d022786c5dff9f454d77a9ca2
4
- data.tar.gz: f0d29217913cc6d74e14c43a763e2c05b01aa746a4afcab0b9c8baf426c1b420
3
+ metadata.gz: 2b5dcbbc1ba86e420035b8e08b081f364968a5386427da541a69e4b9879f93c5
4
+ data.tar.gz: bf2ee708f760cc1d9e06bcf0a762f31a36048a298ac0ef50c4dd5a4755f28a64
5
5
  SHA512:
6
- metadata.gz: e06026d89b14cbdf33ed4f9d3a3bdd9aa4f698044a1fadd5cf46cca7c981aa469f9eac7095a473b360426d2291802fc11de9136773787704832861e2a496edba
7
- data.tar.gz: 514089ea6fe7202c394e7a5b1642a070dda9ff5d1168696b8fa337e2d8f16509365ab38dd7f90ee951e227c1655d7a69a7e7b6ac195b767120b8853e955e8fd7
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
@@ -5,6 +5,5 @@ gemspec
5
5
  group :development, :test do
6
6
  gem 'rake', '~> 13.0.1'
7
7
  gem 'pry-byebug'
8
- gem 'rubocop'
9
- gem 'factory_bot'
8
+ gem 'rubocop', '~> 0.66.0'
10
9
  end
data/Gemfile.lock CHANGED
@@ -1,89 +1,85 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- patch_ruby (1.9.0)
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.1)
16
+ ast (2.4.2)
18
17
  byebug (11.1.3)
19
18
  coderay (1.1.3)
20
- concurrent-ruby (1.1.7)
21
- diff-lcs (1.4.3)
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.1.0)
23
+ factory_bot (6.2.0)
25
24
  activesupport (>= 5.0.0)
26
- ffi (1.15.3)
27
- i18n (1.8.7)
25
+ ffi (1.15.4)
26
+ i18n (1.8.10)
28
27
  concurrent-ruby (~> 1.0)
29
- json (2.5.1)
28
+ jaro_winkler (1.5.4)
30
29
  method_source (1.0.0)
31
- minitest (5.14.3)
32
- parallel (1.19.2)
33
- parser (2.7.1.4)
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.13.1)
34
+ pry (0.14.1)
36
35
  coderay (~> 1.1)
37
36
  method_source (~> 1.0)
38
- pry-byebug (3.9.0)
37
+ pry-byebug (3.8.0)
39
38
  byebug (~> 11.0)
40
- pry (~> 0.13.0)
39
+ pry (~> 0.10)
40
+ psych (4.0.1)
41
41
  rainbow (3.0.0)
42
- rake (13.0.1)
43
- regexp_parser (1.7.1)
44
- rexml (3.2.4)
45
- rspec (3.9.0)
46
- rspec-core (~> 3.9.0)
47
- rspec-expectations (~> 3.9.0)
48
- rspec-mocks (~> 3.9.0)
49
- rspec-core (3.9.2)
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.9.0)
54
- rspec-mocks (3.9.1)
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.9.0)
57
- rspec-support (3.9.3)
58
- rubocop (0.88.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.7.1.1)
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, < 2.0)
67
- rubocop-ast (0.3.0)
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.7.0)
69
+ unicode-display_width (1.5.0)
75
70
  zeitwerk (2.4.2)
76
71
 
77
72
  PLATFORMS
78
- ruby
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.14
85
+ 2.2.22
data/Makefile CHANGED
@@ -1,8 +1,8 @@
1
1
  SHELL = /bin/bash
2
2
 
3
3
  build:
4
- rubocop -a && \
5
- bundle install
4
+ bundle install && \
5
+ rubocop -a
6
6
 
7
7
  test:
8
8
  bundle exec rspec
@@ -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: 4.3.1
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[:body] || @api_client.object_to_http_body(create_bitcoin_estimate_request)
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[:return_type] || 'EstimateResponse'
76
+ return_type = opts[:debug_return_type] || 'EstimateResponse'
77
77
 
78
78
  # auth_names
79
- auth_names = opts[:auth_names] || ['bearer_auth']
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[:body] || @api_client.object_to_http_body(create_ethereum_estimate_request)
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[:return_type] || 'EstimateResponse'
141
+ return_type = opts[:debug_return_type] || 'EstimateResponse'
141
142
 
142
143
  # auth_names
143
- auth_names = opts[:auth_names] || ['bearer_auth']
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[:body] || @api_client.object_to_http_body(create_flight_estimate_request)
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[:return_type] || 'EstimateResponse'
206
+ return_type = opts[:debug_return_type] || 'EstimateResponse'
205
207
 
206
208
  # auth_names
207
- auth_names = opts[:auth_names] || ['bearer_auth']
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[:body] || @api_client.object_to_http_body(create_mass_estimate_request)
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[:return_type] || 'EstimateResponse'
271
+ return_type = opts[:debug_return_type] || 'EstimateResponse'
269
272
 
270
273
  # auth_names
271
- auth_names = opts[:auth_names] || ['bearer_auth']
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[:body] || @api_client.object_to_http_body(create_shipping_estimate_request)
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[:return_type] || 'EstimateResponse'
336
+ return_type = opts[:debug_return_type] || 'EstimateResponse'
333
337
 
334
338
  # auth_names
335
- auth_names = opts[:auth_names] || ['bearer_auth']
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[:body] || @api_client.object_to_http_body(create_vehicle_estimate_request)
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[:return_type] || 'EstimateResponse'
401
+ return_type = opts[:debug_return_type] || 'EstimateResponse'
397
402
 
398
403
  # auth_names
399
- auth_names = opts[:auth_names] || ['bearer_auth']
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[:body]
461
+ post_body = opts[:debug_body]
456
462
 
457
463
  # return_type
458
- return_type = opts[:return_type] || 'EstimateResponse'
464
+ return_type = opts[:debug_return_type] || 'EstimateResponse'
459
465
 
460
466
  # auth_names
461
- auth_names = opts[:auth_names] || ['bearer_auth']
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[:body]
521
+ post_body = opts[:debug_body]
515
522
 
516
523
  # return_type
517
- return_type = opts[:return_type] || 'EstimateListResponse'
524
+ return_type = opts[:debug_return_type] || 'EstimateListResponse'
518
525
 
519
526
  # auth_names
520
- auth_names = opts[:auth_names] || ['bearer_auth']
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: 4.3.1
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[:body]
68
+ post_body = opts[:debug_body]
69
69
 
70
70
  # return_type
71
- return_type = opts[:return_type] || 'OrderResponse'
71
+ return_type = opts[:debug_return_type] || 'OrderResponse'
72
72
 
73
73
  # auth_names
74
- auth_names = opts[:auth_names] || ['bearer_auth']
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[:body] || @api_client.object_to_http_body(create_order_request)
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[:return_type] || 'OrderResponse'
136
+ return_type = opts[:debug_return_type] || 'OrderResponse'
136
137
 
137
138
  # auth_names
138
- auth_names = opts[:auth_names] || ['bearer_auth']
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[:body]
196
+ post_body = opts[:debug_body]
195
197
 
196
198
  # return_type
197
- return_type = opts[:return_type] || 'OrderResponse'
199
+ return_type = opts[:debug_return_type] || 'OrderResponse'
198
200
 
199
201
  # auth_names
200
- auth_names = opts[:auth_names] || ['bearer_auth']
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[:body]
259
+ post_body = opts[:debug_body]
257
260
 
258
261
  # return_type
259
- return_type = opts[:return_type] || 'OrderResponse'
262
+ return_type = opts[:debug_return_type] || 'OrderResponse'
260
263
 
261
264
  # auth_names
262
- auth_names = opts[:auth_names] || ['bearer_auth']
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[:body]
328
+ post_body = opts[:debug_body]
325
329
 
326
330
  # return_type
327
- return_type = opts[:return_type] || 'OrderListResponse'
331
+ return_type = opts[:debug_return_type] || 'OrderListResponse'
328
332
 
329
333
  # auth_names
330
- auth_names = opts[:auth_names] || ['bearer_auth']
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,