patch_ruby 1.9.0 → 1.10.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 (66) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/Gemfile +1 -2
  4. data/Gemfile.lock +20 -25
  5. data/lib/patch_ruby/api/estimates_api.rb +33 -25
  6. data/lib/patch_ruby/api/orders_api.rb +21 -16
  7. data/lib/patch_ruby/api/preferences_api.rb +17 -13
  8. data/lib/patch_ruby/api/projects_api.rb +9 -7
  9. data/lib/patch_ruby/api_client.rb +51 -49
  10. data/lib/patch_ruby/api_error.rb +1 -1
  11. data/lib/patch_ruby/configuration.rb +38 -9
  12. data/lib/patch_ruby/models/allocation.rb +21 -11
  13. data/lib/patch_ruby/models/create_bitcoin_estimate_request.rb +25 -19
  14. data/lib/patch_ruby/models/create_ethereum_estimate_request.rb +26 -21
  15. data/lib/patch_ruby/models/create_mass_estimate_request.rb +22 -13
  16. data/lib/patch_ruby/models/create_order_request.rb +21 -11
  17. data/lib/patch_ruby/models/create_preference_request.rb +21 -11
  18. data/lib/patch_ruby/models/error_response.rb +22 -13
  19. data/lib/patch_ruby/models/estimate.rb +22 -13
  20. data/lib/patch_ruby/models/estimate_list_response.rb +22 -13
  21. data/lib/patch_ruby/models/estimate_response.rb +22 -13
  22. data/lib/patch_ruby/models/meta_index_object.rb +23 -15
  23. data/lib/patch_ruby/models/order.rb +23 -15
  24. data/lib/patch_ruby/models/order_list_response.rb +22 -13
  25. data/lib/patch_ruby/models/order_response.rb +22 -13
  26. data/lib/patch_ruby/models/photo.rb +21 -11
  27. data/lib/patch_ruby/models/preference.rb +21 -11
  28. data/lib/patch_ruby/models/preference_list_response.rb +22 -13
  29. data/lib/patch_ruby/models/preference_response.rb +22 -13
  30. data/lib/patch_ruby/models/project.rb +24 -17
  31. data/lib/patch_ruby/models/project_list_response.rb +22 -13
  32. data/lib/patch_ruby/models/project_response.rb +22 -13
  33. data/lib/patch_ruby/models/sdg.rb +21 -11
  34. data/lib/patch_ruby/models/standard.rb +21 -11
  35. data/lib/patch_ruby/version.rb +2 -2
  36. data/lib/patch_ruby.rb +1 -1
  37. data/patch_ruby.gemspec +7 -3
  38. data/spec/api_client_spec.rb +34 -13
  39. data/spec/configuration_spec.rb +1 -1
  40. data/spec/integration/preferences_spec.rb +1 -1
  41. data/spec/models/create_mass_estimate_request_spec.rb +1 -1
  42. data/spec/models/error_response_spec.rb +1 -1
  43. data/spec/models/estimate_list_response_spec.rb +1 -1
  44. data/spec/models/estimate_response_spec.rb +1 -1
  45. data/spec/models/estimate_spec.rb +1 -1
  46. data/spec/models/meta_index_object_spec.rb +1 -1
  47. data/spec/models/order_list_response_spec.rb +1 -1
  48. data/spec/models/order_response_spec.rb +1 -1
  49. data/spec/models/order_spec.rb +1 -1
  50. data/spec/models/preference_list_response_spec.rb +1 -1
  51. data/spec/models/preference_response_spec.rb +1 -1
  52. data/spec/models/project_list_response_spec.rb +1 -1
  53. data/spec/models/project_response_spec.rb +1 -1
  54. data/spec/models/project_spec.rb +1 -1
  55. data/spec/spec_helper.rb +68 -61
  56. metadata +38 -58
  57. data/lib/patch_ruby/.api_client.rb.un~ +0 -0
  58. data/lib/patch_ruby/.configuration.rb.un~ +0 -0
  59. data/lib/patch_ruby/.version.rb.un~ +0 -0
  60. data/lib/patch_ruby/api/.orders_api.rb.un~ +0 -0
  61. data/lib/patch_ruby/models/.create_ethereum_estimate_request.rb.un~ +0 -0
  62. data/spec/.spec_helper.rb.un~ +0 -0
  63. data/spec/integration/.estimates_spec.rb.un~ +0 -0
  64. data/spec/integration/.orders_spec.rb.un~ +0 -0
  65. data/spec/integration/.preferences_spec.rb.un~ +0 -0
  66. 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: 62e292f1c7070beccff4fc3add7f326fc1f08c1c5b843c7f0f0e022d40cd04de
4
+ data.tar.gz: e4e1245f57a33e41a8d601a24cd795625db7f58fad1bc3858831497351e8943f
5
5
  SHA512:
6
- metadata.gz: e06026d89b14cbdf33ed4f9d3a3bdd9aa4f698044a1fadd5cf46cca7c981aa469f9eac7095a473b360426d2291802fc11de9136773787704832861e2a496edba
7
- data.tar.gz: 514089ea6fe7202c394e7a5b1642a070dda9ff5d1168696b8fa337e2d8f16509365ab38dd7f90ee951e227c1655d7a69a7e7b6ac195b767120b8853e955e8fd7
6
+ metadata.gz: 0e69a4cec4dba5b2206ee5ae361b62f3f58dc7d9aa1d2820d1a7774746ba1823824873ce99cbe2aaf4ef2184e8ecd16004d92da68ee1aadbb97a0b3186c586c2
7
+ data.tar.gz: c49deb8e1a9ccdecd8a965deaf14d25d6cad5eaf2a17a7a19846ef49b6b501bb7a4dd4760d8f20c70cc0baea06055b176e959c2683252a69af77826efa305ddf
data/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ 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.10.0] - 2021-08-27
9
+
10
+ ### Added
11
+
12
+ - Adds custom User-Agent header
13
+
8
14
  ## [1.9.0] - 2021-08-17
9
15
 
10
16
  ### 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,36 +1,35 @@
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.10.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)
19
+ concurrent-ruby (1.1.9)
21
20
  diff-lcs (1.4.3)
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
25
  ffi (1.15.3)
27
- i18n (1.8.7)
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
34
  pry (0.13.1)
36
35
  coderay (~> 1.1)
@@ -38,10 +37,9 @@ GEM
38
37
  pry-byebug (3.9.0)
39
38
  byebug (~> 11.0)
40
39
  pry (~> 0.13.0)
40
+ psych (4.0.1)
41
41
  rainbow (3.0.0)
42
42
  rake (13.0.1)
43
- regexp_parser (1.7.1)
44
- rexml (3.2.4)
45
43
  rspec (3.9.0)
46
44
  rspec-core (~> 3.9.0)
47
45
  rspec-expectations (~> 3.9.0)
@@ -55,35 +53,32 @@ GEM
55
53
  diff-lcs (>= 1.2.0, < 2.0)
56
54
  rspec-support (~> 3.9.0)
57
55
  rspec-support (3.9.3)
58
- rubocop (0.88.0)
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
73
  ruby
79
74
 
80
75
  DEPENDENCIES
81
- factory_bot
76
+ factory_bot (~> 6.2)
82
77
  patch_ruby!
83
78
  pry-byebug
84
79
  rake (~> 13.0.1)
85
80
  rspec (~> 3.6, >= 3.6.0)
86
- rubocop
81
+ rubocop (~> 0.66.0)
87
82
 
88
83
  BUNDLED WITH
89
84
  2.2.14
@@ -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,
@@ -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
 
@@ -66,15 +66,16 @@ module Patch
66
66
  form_params = opts[:form_params] || {}
67
67
 
68
68
  # http body (model)
69
- post_body = opts[:body] || @api_client.object_to_http_body(create_preference_request)
69
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(create_preference_request)
70
70
 
71
71
  # return_type
72
- return_type = opts[:return_type] || 'PreferenceResponse'
72
+ return_type = opts[:debug_return_type] || 'PreferenceResponse'
73
73
 
74
74
  # auth_names
75
- auth_names = opts[:auth_names] || ['bearer_auth']
75
+ auth_names = opts[:debug_auth_names] || ['bearer_auth']
76
76
 
77
77
  new_options = opts.merge(
78
+ :operation => :"PreferencesApi.create_preference",
78
79
  :header_params => header_params,
79
80
  :query_params => query_params,
80
81
  :form_params => form_params,
@@ -128,15 +129,16 @@ module Patch
128
129
  form_params = opts[:form_params] || {}
129
130
 
130
131
  # http body (model)
131
- post_body = opts[:body]
132
+ post_body = opts[:debug_body]
132
133
 
133
134
  # return_type
134
- return_type = opts[:return_type] || 'PreferenceResponse'
135
+ return_type = opts[:debug_return_type] || 'PreferenceResponse'
135
136
 
136
137
  # auth_names
137
- auth_names = opts[:auth_names] || ['bearer_auth']
138
+ auth_names = opts[:debug_auth_names] || ['bearer_auth']
138
139
 
139
140
  new_options = opts.merge(
141
+ :operation => :"PreferencesApi.delete_preference",
140
142
  :header_params => header_params,
141
143
  :query_params => query_params,
142
144
  :form_params => form_params,
@@ -190,15 +192,16 @@ module Patch
190
192
  form_params = opts[:form_params] || {}
191
193
 
192
194
  # http body (model)
193
- post_body = opts[:body]
195
+ post_body = opts[:debug_body]
194
196
 
195
197
  # return_type
196
- return_type = opts[:return_type] || 'PreferenceResponse'
198
+ return_type = opts[:debug_return_type] || 'PreferenceResponse'
197
199
 
198
200
  # auth_names
199
- auth_names = opts[:auth_names] || ['bearer_auth']
201
+ auth_names = opts[:debug_auth_names] || ['bearer_auth']
200
202
 
201
203
  new_options = opts.merge(
204
+ :operation => :"PreferencesApi.retrieve_preference",
202
205
  :header_params => header_params,
203
206
  :query_params => query_params,
204
207
  :form_params => form_params,
@@ -249,15 +252,16 @@ module Patch
249
252
  form_params = opts[:form_params] || {}
250
253
 
251
254
  # http body (model)
252
- post_body = opts[:body]
255
+ post_body = opts[:debug_body]
253
256
 
254
257
  # return_type
255
- return_type = opts[:return_type] || 'PreferenceListResponse'
258
+ return_type = opts[:debug_return_type] || 'PreferenceListResponse'
256
259
 
257
260
  # auth_names
258
- auth_names = opts[:auth_names] || ['bearer_auth']
261
+ auth_names = opts[:debug_auth_names] || ['bearer_auth']
259
262
 
260
263
  new_options = opts.merge(
264
+ :operation => :"PreferencesApi.retrieve_preferences",
261
265
  :header_params => header_params,
262
266
  :query_params => query_params,
263
267
  :form_params => form_params,