Class: TripletexRubyClient::PurchaseOrderdeviationApi
- Inherits:
-
Object
- Object
- TripletexRubyClient::PurchaseOrderdeviationApi
- Defined in:
- lib/tripletex_ruby_client/api/purchase_orderdeviation_api.rb
Instance Attribute Summary collapse
-
#api_client ⇒ Object
Returns the value of attribute api_client.
Instance Method Summary collapse
-
#approve(id, opts = {}) ⇒ ResponseWrapperPurchaseOrder
- BETA
-
Approve deviations.
-
#approve_with_http_info(id, opts = {}) ⇒ Array<(ResponseWrapperPurchaseOrder, Fixnum, Hash)>
- BETA
-
Approve deviations.
-
#delete(id, opts = {}) ⇒ nil
- BETA
-
Delete goods receipt by purchase order ID.
-
#delete_with_http_info(id, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
- BETA
-
Delete goods receipt by purchase order ID.
-
#deliver(id, opts = {}) ⇒ ResponseWrapperPurchaseOrder
- BETA
-
Send deviations to approval.
-
#deliver_with_http_info(id, opts = {}) ⇒ Array<(ResponseWrapperPurchaseOrder, Fixnum, Hash)>
- BETA
-
Send deviations to approval.
-
#get(id, opts = {}) ⇒ ResponseWrapperDeviation
- BETA
-
Get deviation by order line ID.
-
#get_with_http_info(id, opts = {}) ⇒ Array<(ResponseWrapperDeviation, Fixnum, Hash)>
- BETA
-
Get deviation by order line ID.
-
#initialize(api_client = ApiClient.default) ⇒ PurchaseOrderdeviationApi
constructor
A new instance of PurchaseOrderdeviationApi.
-
#post(opts = {}) ⇒ ResponseWrapperDeviation
- BETA
-
Register deviation on goods receipt.
-
#post_list(opts = {}) ⇒ ListResponseDeviation
- BETA
-
Register multiple deviations.
-
#post_list_with_http_info(opts = {}) ⇒ Array<(ListResponseDeviation, Fixnum, Hash)>
- BETA
-
Register multiple deviations.
-
#post_with_http_info(opts = {}) ⇒ Array<(ResponseWrapperDeviation, Fixnum, Hash)>
- BETA
-
Register deviation on goods receipt.
-
#put(id, opts = {}) ⇒ ResponseWrapperDeviation
Update deviation.
-
#put_list(opts = {}) ⇒ ListResponseDeviation
- BETA
-
Update multiple deviations.
-
#put_list_with_http_info(opts = {}) ⇒ Array<(ListResponseDeviation, Fixnum, Hash)>
- BETA
-
Update multiple deviations.
-
#put_with_http_info(id, opts = {}) ⇒ Array<(ResponseWrapperDeviation, Fixnum, Hash)>
Update deviation.
-
#search(purchase_order_id, opts = {}) ⇒ ListResponseDeviation
- BETA
-
Find handled deviations for purchase order.
-
#search_with_http_info(purchase_order_id, opts = {}) ⇒ Array<(ListResponseDeviation, Fixnum, Hash)>
- BETA
-
Find handled deviations for purchase order.
-
#undeliver(id, opts = {}) ⇒ ResponseWrapperPurchaseOrder
- BETA
-
Undeliver the deviations.
-
#undeliver_with_http_info(id, opts = {}) ⇒ Array<(ResponseWrapperPurchaseOrder, Fixnum, Hash)>
- BETA
-
Undeliver the deviations.
Constructor Details
#initialize(api_client = ApiClient.default) ⇒ PurchaseOrderdeviationApi
Returns a new instance of PurchaseOrderdeviationApi.
19 20 21 |
# File 'lib/tripletex_ruby_client/api/purchase_orderdeviation_api.rb', line 19 def initialize(api_client = ApiClient.default) @api_client = api_client end |
Instance Attribute Details
#api_client ⇒ Object
Returns the value of attribute api_client.
17 18 19 |
# File 'lib/tripletex_ruby_client/api/purchase_orderdeviation_api.rb', line 17 def api_client @api_client end |
Instance Method Details
#approve(id, opts = {}) ⇒ ResponseWrapperPurchaseOrder
- BETA
-
Approve deviations. Only available for users that have activated the Logistics Plus Beta-program in ‘Our customer account’
27 28 29 30 |
# File 'lib/tripletex_ruby_client/api/purchase_orderdeviation_api.rb', line 27 def approve(id, opts = {}) data, _status_code, _headers = approve_with_http_info(id, opts) data end |
#approve_with_http_info(id, opts = {}) ⇒ Array<(ResponseWrapperPurchaseOrder, Fixnum, Hash)>
- BETA
-
Approve deviations. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account'
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
# File 'lib/tripletex_ruby_client/api/purchase_orderdeviation_api.rb', line 37 def approve_with_http_info(id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PurchaseOrderdeviationApi.approve ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling PurchaseOrderdeviationApi.approve" end # resource path local_var_path = '/purchaseOrder/deviation/{id}/:approve'.sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json; charset=utf-8']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['tokenAuthScheme'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'ResponseWrapperPurchaseOrder') if @api_client.config.debugging @api_client.config.logger.debug "API called: PurchaseOrderdeviationApi#approve\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#delete(id, opts = {}) ⇒ nil
- BETA
-
Delete goods receipt by purchase order ID. Only available for users that have activated the Logistics Plus Beta-program in ‘Our customer account’
79 80 81 82 |
# File 'lib/tripletex_ruby_client/api/purchase_orderdeviation_api.rb', line 79 def delete(id, opts = {}) delete_with_http_info(id, opts) nil end |
#delete_with_http_info(id, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
- BETA
-
Delete goods receipt by purchase order ID. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account'
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 |
# File 'lib/tripletex_ruby_client/api/purchase_orderdeviation_api.rb', line 89 def delete_with_http_info(id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PurchaseOrderdeviationApi.delete ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling PurchaseOrderdeviationApi.delete" end # resource path local_var_path = '/purchaseOrder/deviation/{id}'.sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} # header parameters header_params = {} # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['tokenAuthScheme'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: PurchaseOrderdeviationApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#deliver(id, opts = {}) ⇒ ResponseWrapperPurchaseOrder
- BETA
-
Send deviations to approval. Only available for users that have activated the Logistics Plus Beta-program in ‘Our customer account’
128 129 130 131 |
# File 'lib/tripletex_ruby_client/api/purchase_orderdeviation_api.rb', line 128 def deliver(id, opts = {}) data, _status_code, _headers = deliver_with_http_info(id, opts) data end |
#deliver_with_http_info(id, opts = {}) ⇒ Array<(ResponseWrapperPurchaseOrder, Fixnum, Hash)>
- BETA
-
Send deviations to approval. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account'
138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'lib/tripletex_ruby_client/api/purchase_orderdeviation_api.rb', line 138 def deliver_with_http_info(id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PurchaseOrderdeviationApi.deliver ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling PurchaseOrderdeviationApi.deliver" end # resource path local_var_path = '/purchaseOrder/deviation/{id}/:deliver'.sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json; charset=utf-8']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['tokenAuthScheme'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'ResponseWrapperPurchaseOrder') if @api_client.config.debugging @api_client.config.logger.debug "API called: PurchaseOrderdeviationApi#deliver\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get(id, opts = {}) ⇒ ResponseWrapperDeviation
- BETA
-
Get deviation by order line ID. Only available for users that have activated the Logistics Plus Beta-program in ‘Our customer account’
181 182 183 184 |
# File 'lib/tripletex_ruby_client/api/purchase_orderdeviation_api.rb', line 181 def get(id, opts = {}) data, _status_code, _headers = get_with_http_info(id, opts) data end |
#get_with_http_info(id, opts = {}) ⇒ Array<(ResponseWrapperDeviation, Fixnum, Hash)>
- BETA
-
Get deviation by order line ID. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account'
192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 |
# File 'lib/tripletex_ruby_client/api/purchase_orderdeviation_api.rb', line 192 def get_with_http_info(id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PurchaseOrderdeviationApi.get ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling PurchaseOrderdeviationApi.get" end # resource path local_var_path = '/purchaseOrder/deviation/{id}'.sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil? # header parameters header_params = {} # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['tokenAuthScheme'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'ResponseWrapperDeviation') if @api_client.config.debugging @api_client.config.logger.debug "API called: PurchaseOrderdeviationApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#post(opts = {}) ⇒ ResponseWrapperDeviation
- BETA
-
Register deviation on goods receipt. Only available for users that have activated the Logistics Plus Beta-program in ‘Our customer account’
233 234 235 236 |
# File 'lib/tripletex_ruby_client/api/purchase_orderdeviation_api.rb', line 233 def post(opts = {}) data, _status_code, _headers = post_with_http_info(opts) data end |
#post_list(opts = {}) ⇒ ListResponseDeviation
- BETA
-
Register multiple deviations. Only available for users that have activated the Logistics Plus Beta-program in ‘Our customer account’
281 282 283 284 |
# File 'lib/tripletex_ruby_client/api/purchase_orderdeviation_api.rb', line 281 def post_list(opts = {}) data, _status_code, _headers = post_list_with_http_info(opts) data end |
#post_list_with_http_info(opts = {}) ⇒ Array<(ListResponseDeviation, Fixnum, Hash)>
- BETA
-
Register multiple deviations. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account'
291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 |
# File 'lib/tripletex_ruby_client/api/purchase_orderdeviation_api.rb', line 291 def post_list_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PurchaseOrderdeviationApi.post_list ...' end # resource path local_var_path = '/purchaseOrder/deviation/list' # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json; charset=utf-8']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['tokenAuthScheme'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'ListResponseDeviation') if @api_client.config.debugging @api_client.config.logger.debug "API called: PurchaseOrderdeviationApi#post_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#post_with_http_info(opts = {}) ⇒ Array<(ResponseWrapperDeviation, Fixnum, Hash)>
- BETA
-
Register deviation on goods receipt. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account'
243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 |
# File 'lib/tripletex_ruby_client/api/purchase_orderdeviation_api.rb', line 243 def post_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PurchaseOrderdeviationApi.post ...' end # resource path local_var_path = '/purchaseOrder/deviation' # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json; charset=utf-8']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['tokenAuthScheme'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'ResponseWrapperDeviation') if @api_client.config.debugging @api_client.config.logger.debug "API called: PurchaseOrderdeviationApi#post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#put(id, opts = {}) ⇒ ResponseWrapperDeviation
Update deviation. Only available for users that have activated the Logistics Plus Beta-program in ‘Our customer account’
330 331 332 333 |
# File 'lib/tripletex_ruby_client/api/purchase_orderdeviation_api.rb', line 330 def put(id, opts = {}) data, _status_code, _headers = put_with_http_info(id, opts) data end |
#put_list(opts = {}) ⇒ ListResponseDeviation
- BETA
-
Update multiple deviations. Only available for users that have activated the Logistics Plus Beta-program in ‘Our customer account’
383 384 385 386 |
# File 'lib/tripletex_ruby_client/api/purchase_orderdeviation_api.rb', line 383 def put_list(opts = {}) data, _status_code, _headers = put_list_with_http_info(opts) data end |
#put_list_with_http_info(opts = {}) ⇒ Array<(ListResponseDeviation, Fixnum, Hash)>
- BETA
-
Update multiple deviations. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account'
393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 |
# File 'lib/tripletex_ruby_client/api/purchase_orderdeviation_api.rb', line 393 def put_list_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PurchaseOrderdeviationApi.put_list ...' end # resource path local_var_path = '/purchaseOrder/deviation/list' # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json; charset=utf-8']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['tokenAuthScheme'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'ListResponseDeviation') if @api_client.config.debugging @api_client.config.logger.debug "API called: PurchaseOrderdeviationApi#put_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#put_with_http_info(id, opts = {}) ⇒ Array<(ResponseWrapperDeviation, Fixnum, Hash)>
Update deviation. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account'
341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 |
# File 'lib/tripletex_ruby_client/api/purchase_orderdeviation_api.rb', line 341 def put_with_http_info(id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PurchaseOrderdeviationApi.put ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling PurchaseOrderdeviationApi.put" end # resource path local_var_path = '/purchaseOrder/deviation/{id}'.sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json; charset=utf-8']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['tokenAuthScheme'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'ResponseWrapperDeviation') if @api_client.config.debugging @api_client.config.logger.debug "API called: PurchaseOrderdeviationApi#put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#search(purchase_order_id, opts = {}) ⇒ ListResponseDeviation
- BETA
-
Find handled deviations for purchase order. Only available for users that have activated the Logistics Plus Beta-program in ‘Our customer account’
435 436 437 438 |
# File 'lib/tripletex_ruby_client/api/purchase_orderdeviation_api.rb', line 435 def search(purchase_order_id, opts = {}) data, _status_code, _headers = search_with_http_info(purchase_order_id, opts) data end |
#search_with_http_info(purchase_order_id, opts = {}) ⇒ Array<(ListResponseDeviation, Fixnum, Hash)>
- BETA
-
Find handled deviations for purchase order. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account'
449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 |
# File 'lib/tripletex_ruby_client/api/purchase_orderdeviation_api.rb', line 449 def search_with_http_info(purchase_order_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PurchaseOrderdeviationApi.search ...' end # verify the required parameter 'purchase_order_id' is set if @api_client.config.client_side_validation && purchase_order_id.nil? fail ArgumentError, "Missing the required parameter 'purchase_order_id' when calling PurchaseOrderdeviationApi.search" end # resource path local_var_path = '/purchaseOrder/deviation' # query parameters query_params = {} query_params[:'purchaseOrderId'] = purchase_order_id query_params[:'from'] = opts[:'from'] if !opts[:'from'].nil? query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil? query_params[:'sorting'] = opts[:'sorting'] if !opts[:'sorting'].nil? query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil? # header parameters header_params = {} # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['tokenAuthScheme'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'ListResponseDeviation') if @api_client.config.debugging @api_client.config.logger.debug "API called: PurchaseOrderdeviationApi#search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#undeliver(id, opts = {}) ⇒ ResponseWrapperPurchaseOrder
- BETA
-
Undeliver the deviations. Only available for users that have activated the Logistics Plus Beta-program in ‘Our customer account’
494 495 496 497 |
# File 'lib/tripletex_ruby_client/api/purchase_orderdeviation_api.rb', line 494 def undeliver(id, opts = {}) data, _status_code, _headers = undeliver_with_http_info(id, opts) data end |
#undeliver_with_http_info(id, opts = {}) ⇒ Array<(ResponseWrapperPurchaseOrder, Fixnum, Hash)>
- BETA
-
Undeliver the deviations. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account'
504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 |
# File 'lib/tripletex_ruby_client/api/purchase_orderdeviation_api.rb', line 504 def undeliver_with_http_info(id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PurchaseOrderdeviationApi.undeliver ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling PurchaseOrderdeviationApi.undeliver" end # resource path local_var_path = '/purchaseOrder/deviation/{id}/:undeliver'.sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json; charset=utf-8']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['tokenAuthScheme'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'ResponseWrapperPurchaseOrder') if @api_client.config.debugging @api_client.config.logger.debug "API called: PurchaseOrderdeviationApi#undeliver\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |