@@ -38,7 +38,7 @@ def initialize(api_client = ApiClient.default)
38
38
# @option opts [Integer] :patch_version
39
39
# @return [EstimateResponse]
40
40
def create_air_shipping_estimate ( create_air_shipping_estimate_request = { } , opts = { } )
41
- _create_air_shipping_estimate_request = Patch ::CreateAirShippingEstimateRequest . new ( create_air_shipping_estimate_request )
41
+ _create_air_shipping_estimate_request = Patch ::CreateAirShippingEstimateRequest . new ( create_air_shipping_estimate_request )
42
42
data , _status_code , _headers = create_air_shipping_estimate_with_http_info ( _create_air_shipping_estimate_request , opts )
43
43
data
44
44
end
@@ -71,7 +71,7 @@ def create_air_shipping_estimate_with_http_info(create_air_shipping_estimate_req
71
71
# HTTP header 'Content-Type'
72
72
content_type = @api_client . select_header_content_type ( [ 'application/json' ] )
73
73
if !content_type . nil?
74
- header_params [ 'Content-Type' ] = content_type
74
+ header_params [ 'Content-Type' ] = content_type
75
75
end
76
76
header_params [ 'Patch-Version' ] = 2
77
77
header_params [ :'Patch-Version' ] = opts [ :'patch_version' ] if !opts [ :'patch_version' ] . nil?
@@ -112,7 +112,7 @@ def create_air_shipping_estimate_with_http_info(create_air_shipping_estimate_req
112
112
# @option opts [Integer] :patch_version
113
113
# @return [EstimateResponse]
114
114
def create_bitcoin_estimate ( create_bitcoin_estimate_request = { } , opts = { } )
115
- _create_bitcoin_estimate_request = Patch ::CreateBitcoinEstimateRequest . new ( create_bitcoin_estimate_request )
115
+ _create_bitcoin_estimate_request = Patch ::CreateBitcoinEstimateRequest . new ( create_bitcoin_estimate_request )
116
116
data , _status_code , _headers = create_bitcoin_estimate_with_http_info ( _create_bitcoin_estimate_request , opts )
117
117
data
118
118
end
@@ -145,7 +145,7 @@ def create_bitcoin_estimate_with_http_info(create_bitcoin_estimate_request, opts
145
145
# HTTP header 'Content-Type'
146
146
content_type = @api_client . select_header_content_type ( [ 'application/json' ] )
147
147
if !content_type . nil?
148
- header_params [ 'Content-Type' ] = content_type
148
+ header_params [ 'Content-Type' ] = content_type
149
149
end
150
150
header_params [ 'Patch-Version' ] = 2
151
151
header_params [ :'Patch-Version' ] = opts [ :'patch_version' ] if !opts [ :'patch_version' ] . nil?
@@ -186,7 +186,7 @@ def create_bitcoin_estimate_with_http_info(create_bitcoin_estimate_request, opts
186
186
# @option opts [Integer] :patch_version
187
187
# @return [EstimateResponse]
188
188
def create_flight_estimate ( create_flight_estimate_request = { } , opts = { } )
189
- _create_flight_estimate_request = Patch ::CreateFlightEstimateRequest . new ( create_flight_estimate_request )
189
+ _create_flight_estimate_request = Patch ::CreateFlightEstimateRequest . new ( create_flight_estimate_request )
190
190
data , _status_code , _headers = create_flight_estimate_with_http_info ( _create_flight_estimate_request , opts )
191
191
data
192
192
end
@@ -219,7 +219,7 @@ def create_flight_estimate_with_http_info(create_flight_estimate_request, opts =
219
219
# HTTP header 'Content-Type'
220
220
content_type = @api_client . select_header_content_type ( [ 'application/json' ] )
221
221
if !content_type . nil?
222
- header_params [ 'Content-Type' ] = content_type
222
+ header_params [ 'Content-Type' ] = content_type
223
223
end
224
224
header_params [ 'Patch-Version' ] = 2
225
225
header_params [ :'Patch-Version' ] = opts [ :'patch_version' ] if !opts [ :'patch_version' ] . nil?
@@ -260,7 +260,7 @@ def create_flight_estimate_with_http_info(create_flight_estimate_request, opts =
260
260
# @option opts [Integer] :patch_version
261
261
# @return [EstimateResponse]
262
262
def create_mass_estimate ( create_mass_estimate_request = { } , opts = { } )
263
- _create_mass_estimate_request = Patch ::CreateMassEstimateRequest . new ( create_mass_estimate_request )
263
+ _create_mass_estimate_request = Patch ::CreateMassEstimateRequest . new ( create_mass_estimate_request )
264
264
data , _status_code , _headers = create_mass_estimate_with_http_info ( _create_mass_estimate_request , opts )
265
265
data
266
266
end
@@ -293,7 +293,7 @@ def create_mass_estimate_with_http_info(create_mass_estimate_request, opts = {})
293
293
# HTTP header 'Content-Type'
294
294
content_type = @api_client . select_header_content_type ( [ 'application/json' ] )
295
295
if !content_type . nil?
296
- header_params [ 'Content-Type' ] = content_type
296
+ header_params [ 'Content-Type' ] = content_type
297
297
end
298
298
header_params [ 'Patch-Version' ] = 2
299
299
header_params [ :'Patch-Version' ] = opts [ :'patch_version' ] if !opts [ :'patch_version' ] . nil?
@@ -334,7 +334,7 @@ def create_mass_estimate_with_http_info(create_mass_estimate_request, opts = {})
334
334
# @option opts [Integer] :patch_version
335
335
# @return [EstimateResponse]
336
336
def create_rail_shipping_estimate ( create_rail_shipping_estimate_request = { } , opts = { } )
337
- _create_rail_shipping_estimate_request = Patch ::CreateRailShippingEstimateRequest . new ( create_rail_shipping_estimate_request )
337
+ _create_rail_shipping_estimate_request = Patch ::CreateRailShippingEstimateRequest . new ( create_rail_shipping_estimate_request )
338
338
data , _status_code , _headers = create_rail_shipping_estimate_with_http_info ( _create_rail_shipping_estimate_request , opts )
339
339
data
340
340
end
@@ -367,7 +367,7 @@ def create_rail_shipping_estimate_with_http_info(create_rail_shipping_estimate_r
367
367
# HTTP header 'Content-Type'
368
368
content_type = @api_client . select_header_content_type ( [ 'application/json' ] )
369
369
if !content_type . nil?
370
- header_params [ 'Content-Type' ] = content_type
370
+ header_params [ 'Content-Type' ] = content_type
371
371
end
372
372
header_params [ 'Patch-Version' ] = 2
373
373
header_params [ :'Patch-Version' ] = opts [ :'patch_version' ] if !opts [ :'patch_version' ] . nil?
@@ -408,7 +408,7 @@ def create_rail_shipping_estimate_with_http_info(create_rail_shipping_estimate_r
408
408
# @option opts [Integer] :patch_version
409
409
# @return [EstimateResponse]
410
410
def create_road_shipping_estimate ( create_road_shipping_estimate_request = { } , opts = { } )
411
- _create_road_shipping_estimate_request = Patch ::CreateRoadShippingEstimateRequest . new ( create_road_shipping_estimate_request )
411
+ _create_road_shipping_estimate_request = Patch ::CreateRoadShippingEstimateRequest . new ( create_road_shipping_estimate_request )
412
412
data , _status_code , _headers = create_road_shipping_estimate_with_http_info ( _create_road_shipping_estimate_request , opts )
413
413
data
414
414
end
@@ -441,7 +441,7 @@ def create_road_shipping_estimate_with_http_info(create_road_shipping_estimate_r
441
441
# HTTP header 'Content-Type'
442
442
content_type = @api_client . select_header_content_type ( [ 'application/json' ] )
443
443
if !content_type . nil?
444
- header_params [ 'Content-Type' ] = content_type
444
+ header_params [ 'Content-Type' ] = content_type
445
445
end
446
446
header_params [ 'Patch-Version' ] = 2
447
447
header_params [ :'Patch-Version' ] = opts [ :'patch_version' ] if !opts [ :'patch_version' ] . nil?
@@ -482,7 +482,7 @@ def create_road_shipping_estimate_with_http_info(create_road_shipping_estimate_r
482
482
# @option opts [Integer] :patch_version
483
483
# @return [EstimateResponse]
484
484
def create_sea_shipping_estimate ( create_sea_shipping_estimate_request = { } , opts = { } )
485
- _create_sea_shipping_estimate_request = Patch ::CreateSeaShippingEstimateRequest . new ( create_sea_shipping_estimate_request )
485
+ _create_sea_shipping_estimate_request = Patch ::CreateSeaShippingEstimateRequest . new ( create_sea_shipping_estimate_request )
486
486
data , _status_code , _headers = create_sea_shipping_estimate_with_http_info ( _create_sea_shipping_estimate_request , opts )
487
487
data
488
488
end
@@ -515,7 +515,7 @@ def create_sea_shipping_estimate_with_http_info(create_sea_shipping_estimate_req
515
515
# HTTP header 'Content-Type'
516
516
content_type = @api_client . select_header_content_type ( [ 'application/json' ] )
517
517
if !content_type . nil?
518
- header_params [ 'Content-Type' ] = content_type
518
+ header_params [ 'Content-Type' ] = content_type
519
519
end
520
520
header_params [ 'Patch-Version' ] = 2
521
521
header_params [ :'Patch-Version' ] = opts [ :'patch_version' ] if !opts [ :'patch_version' ] . nil?
@@ -684,4 +684,4 @@ def retrieve_estimates_with_http_info(opts = {})
684
684
return data , status_code , headers
685
685
end
686
686
end
687
- end
687
+ end
0 commit comments