@@ -38,7 +38,7 @@ def initialize(api_client = ApiClient.default)
3838 # @option opts [Integer] :patch_version
3939 # @return [EstimateResponse]
4040 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 )
4242 data , _status_code , _headers = create_air_shipping_estimate_with_http_info ( _create_air_shipping_estimate_request , opts )
4343 data
4444 end
@@ -71,7 +71,7 @@ def create_air_shipping_estimate_with_http_info(create_air_shipping_estimate_req
7171 # HTTP header 'Content-Type'
7272 content_type = @api_client . select_header_content_type ( [ 'application/json' ] )
7373 if !content_type . nil?
74- header_params [ 'Content-Type' ] = content_type
74+ header_params [ 'Content-Type' ] = content_type
7575 end
7676 header_params [ 'Patch-Version' ] = 2
7777 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
112112 # @option opts [Integer] :patch_version
113113 # @return [EstimateResponse]
114114 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 )
116116 data , _status_code , _headers = create_bitcoin_estimate_with_http_info ( _create_bitcoin_estimate_request , opts )
117117 data
118118 end
@@ -145,7 +145,7 @@ def create_bitcoin_estimate_with_http_info(create_bitcoin_estimate_request, opts
145145 # HTTP header 'Content-Type'
146146 content_type = @api_client . select_header_content_type ( [ 'application/json' ] )
147147 if !content_type . nil?
148- header_params [ 'Content-Type' ] = content_type
148+ header_params [ 'Content-Type' ] = content_type
149149 end
150150 header_params [ 'Patch-Version' ] = 2
151151 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
186186 # @option opts [Integer] :patch_version
187187 # @return [EstimateResponse]
188188 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 )
190190 data , _status_code , _headers = create_flight_estimate_with_http_info ( _create_flight_estimate_request , opts )
191191 data
192192 end
@@ -219,7 +219,7 @@ def create_flight_estimate_with_http_info(create_flight_estimate_request, opts =
219219 # HTTP header 'Content-Type'
220220 content_type = @api_client . select_header_content_type ( [ 'application/json' ] )
221221 if !content_type . nil?
222- header_params [ 'Content-Type' ] = content_type
222+ header_params [ 'Content-Type' ] = content_type
223223 end
224224 header_params [ 'Patch-Version' ] = 2
225225 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 =
260260 # @option opts [Integer] :patch_version
261261 # @return [EstimateResponse]
262262 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 )
264264 data , _status_code , _headers = create_mass_estimate_with_http_info ( _create_mass_estimate_request , opts )
265265 data
266266 end
@@ -293,7 +293,7 @@ def create_mass_estimate_with_http_info(create_mass_estimate_request, opts = {})
293293 # HTTP header 'Content-Type'
294294 content_type = @api_client . select_header_content_type ( [ 'application/json' ] )
295295 if !content_type . nil?
296- header_params [ 'Content-Type' ] = content_type
296+ header_params [ 'Content-Type' ] = content_type
297297 end
298298 header_params [ 'Patch-Version' ] = 2
299299 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 = {})
334334 # @option opts [Integer] :patch_version
335335 # @return [EstimateResponse]
336336 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 )
338338 data , _status_code , _headers = create_rail_shipping_estimate_with_http_info ( _create_rail_shipping_estimate_request , opts )
339339 data
340340 end
@@ -367,7 +367,7 @@ def create_rail_shipping_estimate_with_http_info(create_rail_shipping_estimate_r
367367 # HTTP header 'Content-Type'
368368 content_type = @api_client . select_header_content_type ( [ 'application/json' ] )
369369 if !content_type . nil?
370- header_params [ 'Content-Type' ] = content_type
370+ header_params [ 'Content-Type' ] = content_type
371371 end
372372 header_params [ 'Patch-Version' ] = 2
373373 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
408408 # @option opts [Integer] :patch_version
409409 # @return [EstimateResponse]
410410 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 )
412412 data , _status_code , _headers = create_road_shipping_estimate_with_http_info ( _create_road_shipping_estimate_request , opts )
413413 data
414414 end
@@ -441,7 +441,7 @@ def create_road_shipping_estimate_with_http_info(create_road_shipping_estimate_r
441441 # HTTP header 'Content-Type'
442442 content_type = @api_client . select_header_content_type ( [ 'application/json' ] )
443443 if !content_type . nil?
444- header_params [ 'Content-Type' ] = content_type
444+ header_params [ 'Content-Type' ] = content_type
445445 end
446446 header_params [ 'Patch-Version' ] = 2
447447 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
482482 # @option opts [Integer] :patch_version
483483 # @return [EstimateResponse]
484484 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 )
486486 data , _status_code , _headers = create_sea_shipping_estimate_with_http_info ( _create_sea_shipping_estimate_request , opts )
487487 data
488488 end
@@ -515,7 +515,7 @@ def create_sea_shipping_estimate_with_http_info(create_sea_shipping_estimate_req
515515 # HTTP header 'Content-Type'
516516 content_type = @api_client . select_header_content_type ( [ 'application/json' ] )
517517 if !content_type . nil?
518- header_params [ 'Content-Type' ] = content_type
518+ header_params [ 'Content-Type' ] = content_type
519519 end
520520 header_params [ 'Patch-Version' ] = 2
521521 header_params [ :'Patch-Version' ] = opts [ :'patch_version' ] if !opts [ :'patch_version' ] . nil?
@@ -684,4 +684,4 @@ def retrieve_estimates_with_http_info(opts = {})
684684 return data , status_code , headers
685685 end
686686 end
687- end
687+ end
0 commit comments