jamm 1.2.2 → 1.4.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 (84) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/lib/jamm/api/api/customer_api.rb +82 -52
  4. data/lib/jamm/api/api/healthcheck_api.rb +18 -15
  5. data/lib/jamm/api/api/payment_api.rb +113 -62
  6. data/lib/jamm/api/api/webhook_service_api.rb +91 -19
  7. data/lib/jamm/api/api_client.rb +74 -66
  8. data/lib/jamm/api/api_error.rb +16 -16
  9. data/lib/jamm/api/configuration.rb +42 -34
  10. data/lib/jamm/api/models/apiv1_error.rb +238 -0
  11. data/lib/jamm/api/models/apiv1_status.rb +57 -47
  12. data/lib/jamm/api/models/customer_service_update_customer_body.rb +107 -69
  13. data/lib/jamm/api/models/googlerpc_status.rb +61 -45
  14. data/lib/jamm/api/models/protobuf_any.rb +42 -35
  15. data/lib/jamm/api/models/v1_add_charge_request.rb +59 -44
  16. data/lib/jamm/api/models/v1_add_charge_response.rb +59 -44
  17. data/lib/jamm/api/models/v1_bank.rb +350 -0
  18. data/lib/jamm/api/models/v1_bank_assets.rb +244 -0
  19. data/lib/jamm/api/models/v1_bank_branch.rb +259 -0
  20. data/lib/jamm/api/models/v1_bank_information.rb +71 -51
  21. data/lib/jamm/api/models/v1_bank_quota.rb +278 -0
  22. data/lib/jamm/api/models/v1_bank_scheduled_maintenance_period.rb +250 -0
  23. data/lib/jamm/api/models/v1_buyer.rb +104 -76
  24. data/lib/jamm/api/models/v1_charge.rb +67 -52
  25. data/lib/jamm/api/models/v1_charge_message.rb +151 -93
  26. data/lib/jamm/api/models/v1_charge_message_status.rb +17 -18
  27. data/lib/jamm/api/models/v1_charge_result.rb +152 -93
  28. data/lib/jamm/api/models/v1_contract.rb +64 -52
  29. data/lib/jamm/api/models/v1_contract_message.rb +67 -48
  30. data/lib/jamm/api/models/v1_contract_status.rb +20 -21
  31. data/lib/jamm/api/models/v1_create_contract_with_charge_request.rb +59 -44
  32. data/lib/jamm/api/models/v1_create_contract_with_charge_response.rb +67 -48
  33. data/lib/jamm/api/models/v1_create_contract_without_charge_request.rb +51 -40
  34. data/lib/jamm/api/models/v1_create_contract_without_charge_response.rb +59 -44
  35. data/lib/jamm/api/models/v1_create_customer_request.rb +42 -35
  36. data/lib/jamm/api/models/v1_create_customer_response.rb +42 -35
  37. data/lib/jamm/api/models/v1_customer.rb +91 -60
  38. data/lib/jamm/api/models/v1_delete_customer_response.rb +42 -35
  39. data/lib/jamm/api/models/v1_deposit_type.rb +14 -15
  40. data/lib/jamm/api/models/v1_error_detail.rb +233 -0
  41. data/lib/jamm/api/models/v1_error_response.rb +238 -0
  42. data/lib/jamm/api/models/v1_error_type.rb +57 -0
  43. data/lib/jamm/api/models/v1_event_type.rb +20 -21
  44. data/lib/jamm/api/models/{v1_error.rb → v1_get_bank_response.rb} +45 -48
  45. data/lib/jamm/api/models/v1_get_branch_response.rb +214 -0
  46. data/lib/jamm/api/models/v1_get_branches_response.rb +216 -0
  47. data/lib/jamm/api/models/v1_get_charge_response.rb +51 -40
  48. data/lib/jamm/api/models/v1_get_charges_response.rb +60 -45
  49. data/lib/jamm/api/models/v1_get_contract_response.rb +51 -40
  50. data/lib/jamm/api/models/v1_get_customer_response.rb +42 -35
  51. data/lib/jamm/api/models/v1_get_major_banks_response.rb +232 -0
  52. data/lib/jamm/api/models/v1_initial_charge.rb +61 -48
  53. data/lib/jamm/api/models/v1_kyc_status.rb +16 -17
  54. data/lib/jamm/api/models/v1_merchant.rb +51 -40
  55. data/lib/jamm/api/models/v1_merchant_customer.rb +51 -40
  56. data/lib/jamm/api/models/v1_merchant_webhook_message.rb +75 -57
  57. data/lib/jamm/api/models/v1_message_response.rb +67 -48
  58. data/lib/jamm/api/models/v1_off_session_payment_request.rb +51 -40
  59. data/lib/jamm/api/models/v1_off_session_payment_response.rb +51 -40
  60. data/lib/jamm/api/models/v1_on_session_payment_data.rb +67 -48
  61. data/lib/jamm/api/models/v1_on_session_payment_error.rb +55 -45
  62. data/lib/jamm/api/models/v1_on_session_payment_error_code.rb +21 -22
  63. data/lib/jamm/api/models/v1_on_session_payment_request.rb +67 -48
  64. data/lib/jamm/api/models/v1_on_session_payment_response.rb +59 -44
  65. data/lib/jamm/api/models/v1_pagination.rb +51 -40
  66. data/lib/jamm/api/models/v1_payment_authorization_status.rb +14 -15
  67. data/lib/jamm/api/models/v1_payment_link.rb +57 -44
  68. data/lib/jamm/api/models/v1_ping_response.rb +42 -35
  69. data/lib/jamm/api/models/v1_search_banks_response.rb +216 -0
  70. data/lib/jamm/api/models/v1_search_branches_response.rb +216 -0
  71. data/lib/jamm/api/models/v1_update_customer_response.rb +42 -35
  72. data/lib/jamm/api/models/v1_url.rb +48 -39
  73. data/lib/jamm/api/models/v1_user_account_message.rb +67 -48
  74. data/lib/jamm/api/models/v1_withdraw_request.rb +51 -40
  75. data/lib/jamm/api/models/v1_withdraw_response.rb +51 -40
  76. data/lib/jamm/api/version.rb +11 -11
  77. data/lib/jamm/api.rb +25 -11
  78. data/lib/jamm/charge.rb +12 -0
  79. data/lib/jamm/deprecation.rb +13 -0
  80. data/lib/jamm/errors.rb +27 -1
  81. data/lib/jamm/payment.rb +61 -0
  82. data/lib/jamm/version.rb +1 -1
  83. data/lib/jamm.rb +2 -0
  84. metadata +19 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12442dd1d77bc26366eb9a63dab54e0e57d604045d40dd77f2b4e56fc683f036
4
- data.tar.gz: be144a15d76a7f74ce3da233688655801bae02c2d0f4b7493eeccfb347804fbd
3
+ metadata.gz: a0d2599b17737c3fe2b5bdf37af1aab1423d5c1d3a0ae39d6f2c54c082d6a371
4
+ data.tar.gz: 3e6cf4f39c8e8655a5a3292e8d79bc4d323e980f20727c87234948b9d2faf711
5
5
  SHA512:
6
- metadata.gz: 44b91232e54fd1614c8c291a81a76b513b78c3a9b7d7123315feebc0bc42644a662fe62accb5fe647531d1782f39ecadea804c945012575a6149573f3df17025
7
- data.tar.gz: 1756d0212d959e4cd5f7c1460f1c5e4887b79942ba5ce5d5401fd6becb6ae4b4d9132d9a6c3d16f9160c33d17b2b47233493309aef4391ca188489c7b065b8ac
6
+ metadata.gz: 501cde052501b4d6f57ba18c208b47b610994453f83e3e1e90d83298006df9c264b06f222c84c8652483dd4e45d325841afd4e3c0dc1347fa4d343cc80aeb026
7
+ data.tar.gz: ff3ef79d49811048a3da02f56288734658eda732c23c9ad160e012099e14763dff64f8f0ec29221ee7bb797c18df2d9ba131129217d49313bea3834b4cee0f11
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jamm (1.2.2)
4
+ jamm (1.4.0)
5
5
  rest-client (~> 2.0)
6
6
  typhoeus (~> 1.0, >= 1.0.1)
7
7
 
@@ -1,14 +1,14 @@
1
- # frozen_string_literal: true
2
-
3
- # #Jamm API
4
- #
5
- # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- #
7
- # The version of the OpenAPI document: 1.0
8
- #
9
- # Generated by: https://openapi-generator.tech
10
- # Generator version: 7.9.0
11
- #
1
+ =begin
2
+ #Jamm API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.9.0
10
+
11
+ =end
12
12
 
13
13
  require 'cgi'
14
14
 
@@ -19,10 +19,9 @@ module Api
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
-
23
22
  # Create customer
24
23
  # Intended for pre-registering merchant customer into Jamm.
25
- # @param body [CreateCustomerRequest]
24
+ # @param body [CreateCustomerRequest]
26
25
  # @param [Hash] opts the optional parameters
27
26
  # @return [CreateCustomerResponse]
28
27
  def create(body, opts = {})
@@ -32,14 +31,17 @@ module Api
32
31
 
33
32
  # Create customer
34
33
  # Intended for pre-registering merchant customer into Jamm.
35
- # @param body [CreateCustomerRequest]
34
+ # @param body [CreateCustomerRequest]
36
35
  # @param [Hash] opts the optional parameters
37
36
  # @return [Array<(CreateCustomerResponse, Integer, Hash)>] CreateCustomerResponse data, response status code and response headers
38
37
  def create_with_http_info(body, opts = {})
39
- @api_client.config.logger.debug 'Calling API: CustomerApi.create ...' if @api_client.config.debugging
38
+ if @api_client.config.debugging
39
+ @api_client.config.logger.debug 'Calling API: CustomerApi.create ...'
40
+ end
40
41
  # verify the required parameter 'body' is set
41
- raise ArgumentError, "Missing the required parameter 'body' when calling CustomerApi.create" if @api_client.config.client_side_validation && body.nil?
42
-
42
+ if @api_client.config.client_side_validation && body.nil?
43
+ fail ArgumentError, "Missing the required parameter 'body' when calling CustomerApi.create"
44
+ end
43
45
  # resource path
44
46
  local_var_path = '/v1/customers'
45
47
 
@@ -52,7 +54,9 @@ module Api
52
54
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
53
55
  # HTTP header 'Content-Type'
54
56
  content_type = @api_client.select_header_content_type(['application/json'])
55
- header_params['Content-Type'] = content_type unless content_type.nil?
57
+ if !content_type.nil?
58
+ header_params['Content-Type'] = content_type
59
+ end
56
60
 
57
61
  # form parameters
58
62
  form_params = opts[:form_params] || {}
@@ -77,13 +81,15 @@ module Api
77
81
  )
78
82
 
79
83
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
80
- @api_client.config.logger.debug "API called: CustomerApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" if @api_client.config.debugging
81
- [data, status_code, headers]
84
+ if @api_client.config.debugging
85
+ @api_client.config.logger.debug "API called: CustomerApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
86
+ end
87
+ return data, status_code, headers
82
88
  end
83
89
 
84
90
  # Delete customer
85
91
  # Delete customer from Jamm.
86
- # @param customer [String]
92
+ # @param customer [String]
87
93
  # @param [Hash] opts the optional parameters
88
94
  # @return [DeleteCustomerResponse]
89
95
  def delete(customer, opts = {})
@@ -93,16 +99,19 @@ module Api
93
99
 
94
100
  # Delete customer
95
101
  # Delete customer from Jamm.
96
- # @param customer [String]
102
+ # @param customer [String]
97
103
  # @param [Hash] opts the optional parameters
98
104
  # @return [Array<(DeleteCustomerResponse, Integer, Hash)>] DeleteCustomerResponse data, response status code and response headers
99
105
  def delete_with_http_info(customer, opts = {})
100
- @api_client.config.logger.debug 'Calling API: CustomerApi.delete ...' if @api_client.config.debugging
106
+ if @api_client.config.debugging
107
+ @api_client.config.logger.debug 'Calling API: CustomerApi.delete ...'
108
+ end
101
109
  # verify the required parameter 'customer' is set
102
- raise ArgumentError, "Missing the required parameter 'customer' when calling CustomerApi.delete" if @api_client.config.client_side_validation && customer.nil?
103
-
110
+ if @api_client.config.client_side_validation && customer.nil?
111
+ fail ArgumentError, "Missing the required parameter 'customer' when calling CustomerApi.delete"
112
+ end
104
113
  # resource path
105
- local_var_path = '/v1/customers/{customer}'.sub('{customer}', CGI.escape(customer.to_s))
114
+ local_var_path = '/v1/customers/{customer}'.sub('{' + 'customer' + '}', CGI.escape(customer.to_s))
106
115
 
107
116
  # query parameters
108
117
  query_params = opts[:query_params] || {}
@@ -135,13 +144,15 @@ module Api
135
144
  )
136
145
 
137
146
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
138
- @api_client.config.logger.debug "API called: CustomerApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" if @api_client.config.debugging
139
- [data, status_code, headers]
147
+ if @api_client.config.debugging
148
+ @api_client.config.logger.debug "API called: CustomerApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
149
+ end
150
+ return data, status_code, headers
140
151
  end
141
152
 
142
153
  # Get customer
143
154
  # Retrieve a merchant customer from Jamm. The merchant customer must be registered in Jamm.
144
- # @param customer [String]
155
+ # @param customer [String]
145
156
  # @param [Hash] opts the optional parameters
146
157
  # @return [GetCustomerResponse]
147
158
  def get(customer, opts = {})
@@ -151,16 +162,19 @@ module Api
151
162
 
152
163
  # Get customer
153
164
  # Retrieve a merchant customer from Jamm. The merchant customer must be registered in Jamm.
154
- # @param customer [String]
165
+ # @param customer [String]
155
166
  # @param [Hash] opts the optional parameters
156
167
  # @return [Array<(GetCustomerResponse, Integer, Hash)>] GetCustomerResponse data, response status code and response headers
157
168
  def get_with_http_info(customer, opts = {})
158
- @api_client.config.logger.debug 'Calling API: CustomerApi.get ...' if @api_client.config.debugging
169
+ if @api_client.config.debugging
170
+ @api_client.config.logger.debug 'Calling API: CustomerApi.get ...'
171
+ end
159
172
  # verify the required parameter 'customer' is set
160
- raise ArgumentError, "Missing the required parameter 'customer' when calling CustomerApi.get" if @api_client.config.client_side_validation && customer.nil?
161
-
173
+ if @api_client.config.client_side_validation && customer.nil?
174
+ fail ArgumentError, "Missing the required parameter 'customer' when calling CustomerApi.get"
175
+ end
162
176
  # resource path
163
- local_var_path = '/v1/customers/{customer}'.sub('{customer}', CGI.escape(customer.to_s))
177
+ local_var_path = '/v1/customers/{customer}'.sub('{' + 'customer' + '}', CGI.escape(customer.to_s))
164
178
 
165
179
  # query parameters
166
180
  query_params = opts[:query_params] || {}
@@ -193,8 +207,10 @@ module Api
193
207
  )
194
208
 
195
209
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
196
- @api_client.config.logger.debug "API called: CustomerApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" if @api_client.config.debugging
197
- [data, status_code, headers]
210
+ if @api_client.config.debugging
211
+ @api_client.config.logger.debug "API called: CustomerApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
212
+ end
213
+ return data, status_code, headers
198
214
  end
199
215
 
200
216
  # Get a contract belongs to the customer
@@ -213,12 +229,15 @@ module Api
213
229
  # @param [Hash] opts the optional parameters
214
230
  # @return [Array<(GetContractResponse, Integer, Hash)>] GetContractResponse data, response status code and response headers
215
231
  def get_contract_with_http_info(customer, opts = {})
216
- @api_client.config.logger.debug 'Calling API: CustomerApi.get_contract ...' if @api_client.config.debugging
232
+ if @api_client.config.debugging
233
+ @api_client.config.logger.debug 'Calling API: CustomerApi.get_contract ...'
234
+ end
217
235
  # verify the required parameter 'customer' is set
218
- raise ArgumentError, "Missing the required parameter 'customer' when calling CustomerApi.get_contract" if @api_client.config.client_side_validation && customer.nil?
219
-
236
+ if @api_client.config.client_side_validation && customer.nil?
237
+ fail ArgumentError, "Missing the required parameter 'customer' when calling CustomerApi.get_contract"
238
+ end
220
239
  # resource path
221
- local_var_path = '/v1/customers/{customer}/contract'.sub('{customer}', CGI.escape(customer.to_s))
240
+ local_var_path = '/v1/customers/{customer}/contract'.sub('{' + 'customer' + '}', CGI.escape(customer.to_s))
222
241
 
223
242
  # query parameters
224
243
  query_params = opts[:query_params] || {}
@@ -251,14 +270,16 @@ module Api
251
270
  )
252
271
 
253
272
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
254
- @api_client.config.logger.debug "API called: CustomerApi#get_contract\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" if @api_client.config.debugging
255
- [data, status_code, headers]
273
+ if @api_client.config.debugging
274
+ @api_client.config.logger.debug "API called: CustomerApi#get_contract\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
275
+ end
276
+ return data, status_code, headers
256
277
  end
257
278
 
258
279
  # Update customer
259
280
  # Update customer metadata when they updated their information in merchant e-commerce store.
260
281
  # @param customer [String] Immutable
261
- # @param body [CustomerServiceUpdateCustomerBody]
282
+ # @param body [CustomerServiceUpdateCustomerBody]
262
283
  # @param [Hash] opts the optional parameters
263
284
  # @return [UpdateCustomerResponse]
264
285
  def update(customer, body, opts = {})
@@ -269,18 +290,23 @@ module Api
269
290
  # Update customer
270
291
  # Update customer metadata when they updated their information in merchant e-commerce store.
271
292
  # @param customer [String] Immutable
272
- # @param body [CustomerServiceUpdateCustomerBody]
293
+ # @param body [CustomerServiceUpdateCustomerBody]
273
294
  # @param [Hash] opts the optional parameters
274
295
  # @return [Array<(UpdateCustomerResponse, Integer, Hash)>] UpdateCustomerResponse data, response status code and response headers
275
296
  def update_with_http_info(customer, body, opts = {})
276
- @api_client.config.logger.debug 'Calling API: CustomerApi.update ...' if @api_client.config.debugging
297
+ if @api_client.config.debugging
298
+ @api_client.config.logger.debug 'Calling API: CustomerApi.update ...'
299
+ end
277
300
  # verify the required parameter 'customer' is set
278
- raise ArgumentError, "Missing the required parameter 'customer' when calling CustomerApi.update" if @api_client.config.client_side_validation && customer.nil?
301
+ if @api_client.config.client_side_validation && customer.nil?
302
+ fail ArgumentError, "Missing the required parameter 'customer' when calling CustomerApi.update"
303
+ end
279
304
  # verify the required parameter 'body' is set
280
- raise ArgumentError, "Missing the required parameter 'body' when calling CustomerApi.update" if @api_client.config.client_side_validation && body.nil?
281
-
305
+ if @api_client.config.client_side_validation && body.nil?
306
+ fail ArgumentError, "Missing the required parameter 'body' when calling CustomerApi.update"
307
+ end
282
308
  # resource path
283
- local_var_path = '/v1/customers/{customer}'.sub('{customer}', CGI.escape(customer.to_s))
309
+ local_var_path = '/v1/customers/{customer}'.sub('{' + 'customer' + '}', CGI.escape(customer.to_s))
284
310
 
285
311
  # query parameters
286
312
  query_params = opts[:query_params] || {}
@@ -291,7 +317,9 @@ module Api
291
317
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
292
318
  # HTTP header 'Content-Type'
293
319
  content_type = @api_client.select_header_content_type(['application/json'])
294
- header_params['Content-Type'] = content_type unless content_type.nil?
320
+ if !content_type.nil?
321
+ header_params['Content-Type'] = content_type
322
+ end
295
323
 
296
324
  # form parameters
297
325
  form_params = opts[:form_params] || {}
@@ -316,8 +344,10 @@ module Api
316
344
  )
317
345
 
318
346
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
319
- @api_client.config.logger.debug "API called: CustomerApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" if @api_client.config.debugging
320
- [data, status_code, headers]
347
+ if @api_client.config.debugging
348
+ @api_client.config.logger.debug "API called: CustomerApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
349
+ end
350
+ return data, status_code, headers
321
351
  end
322
352
  end
323
353
  end
@@ -1,14 +1,14 @@
1
- # frozen_string_literal: true
2
-
3
- # #Jamm API
4
- #
5
- # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- #
7
- # The version of the OpenAPI document: 1.0
8
- #
9
- # Generated by: https://openapi-generator.tech
10
- # Generator version: 7.9.0
11
- #
1
+ =begin
2
+ #Jamm API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.9.0
10
+
11
+ =end
12
12
 
13
13
  require 'cgi'
14
14
 
@@ -19,7 +19,6 @@ module Api
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
-
23
22
  # Ping Jamm server to check connection
24
23
  # Ping Jamm server to check connection
25
24
  # @param [Hash] opts the optional parameters
@@ -34,7 +33,9 @@ module Api
34
33
  # @param [Hash] opts the optional parameters
35
34
  # @return [Array<(PingResponse, Integer, Hash)>] PingResponse data, response status code and response headers
36
35
  def ping_with_http_info(opts = {})
37
- @api_client.config.logger.debug 'Calling API: HealthcheckApi.ping ...' if @api_client.config.debugging
36
+ if @api_client.config.debugging
37
+ @api_client.config.logger.debug 'Calling API: HealthcheckApi.ping ...'
38
+ end
38
39
  # resource path
39
40
  local_var_path = '/v1/healthcheck'
40
41
 
@@ -69,8 +70,10 @@ module Api
69
70
  )
70
71
 
71
72
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
72
- @api_client.config.logger.debug "API called: HealthcheckApi#ping\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" if @api_client.config.debugging
73
- [data, status_code, headers]
73
+ if @api_client.config.debugging
74
+ @api_client.config.logger.debug "API called: HealthcheckApi#ping\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
75
+ end
76
+ return data, status_code, headers
74
77
  end
75
78
  end
76
79
  end