treezor_client 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/docs/BalanceApi.md +3 -3
  4. data/docs/BankaccountApi.md +21 -21
  5. data/docs/BeneficiariesApi.md +18 -18
  6. data/docs/BusinessApi.md +22 -22
  7. data/docs/CardApi.md +66 -66
  8. data/docs/CardDigitalizationsApi.md +9 -9
  9. data/docs/CardReserveApi.md +9 -9
  10. data/docs/CardtransactionApi.md +5 -5
  11. data/docs/CountryRestrictionGroupsApi.md +16 -16
  12. data/docs/DocumentApi.md +23 -23
  13. data/docs/HeartbeatApi.md +3 -3
  14. data/docs/IssuerInitiatedDigitizationDataApi.md +10 -10
  15. data/docs/MandateApi.md +33 -33
  16. data/docs/MccRestrictionGroupsApi.md +16 -16
  17. data/docs/MerchantIdRestrictionGroupsApi.md +15 -15
  18. data/docs/PayinApi.md +28 -28
  19. data/docs/PayinrefundApi.md +20 -20
  20. data/docs/PayoutApi.md +27 -27
  21. data/docs/PayoutRefundsApi.md +6 -6
  22. data/docs/TaxResidenceApi.md +9 -9
  23. data/docs/TransactionApi.md +14 -14
  24. data/docs/TransferApi.md +23 -23
  25. data/docs/TransferrefundApi.md +19 -19
  26. data/docs/UserApi.md +103 -103
  27. data/docs/VirtualibansApi.md +24 -24
  28. data/docs/WalletApi.md +45 -45
  29. data/lib/treezor_client/api/balance_api.rb +5 -6
  30. data/lib/treezor_client/api/bankaccount_api.rb +14 -18
  31. data/lib/treezor_client/api/beneficiaries_api.rb +14 -18
  32. data/lib/treezor_client/api/business_api.rb +11 -13
  33. data/lib/treezor_client/api/card_api.rb +53 -76
  34. data/lib/treezor_client/api/card_digitalizations_api.rb +14 -18
  35. data/lib/treezor_client/api/card_reserve_api.rb +11 -14
  36. data/lib/treezor_client/api/cardtransaction_api.rb +8 -10
  37. data/lib/treezor_client/api/country_restriction_groups_api.rb +17 -22
  38. data/lib/treezor_client/api/document_api.rb +28 -33
  39. data/lib/treezor_client/api/heartbeat_api.rb +5 -6
  40. data/lib/treezor_client/api/issuer_initiated_digitization_data_api.rb +8 -10
  41. data/lib/treezor_client/api/mandate_api.rb +20 -26
  42. data/lib/treezor_client/api/mcc_restriction_groups_api.rb +17 -22
  43. data/lib/treezor_client/api/merchant_id_restriction_groups_api.rb +17 -22
  44. data/lib/treezor_client/api/payin_api.rb +14 -18
  45. data/lib/treezor_client/api/payinrefund_api.rb +14 -18
  46. data/lib/treezor_client/api/payout_api.rb +14 -18
  47. data/lib/treezor_client/api/payout_refunds_api.rb +5 -6
  48. data/lib/treezor_client/api/tax_residence_api.rb +17 -22
  49. data/lib/treezor_client/api/transaction_api.rb +8 -10
  50. data/lib/treezor_client/api/transfer_api.rb +14 -18
  51. data/lib/treezor_client/api/transferrefund_api.rb +14 -18
  52. data/lib/treezor_client/api/user_api.rb +20 -26
  53. data/lib/treezor_client/api/virtualibans_api.rb +14 -18
  54. data/lib/treezor_client/api/wallet_api.rb +17 -22
  55. data/lib/treezor_client/api_client.rb +9 -9
  56. data/lib/treezor_client/api_error.rb +1 -1
  57. data/lib/treezor_client/configuration.rb +2 -2
  58. data/lib/treezor_client/models/balance.rb +6 -11
  59. data/lib/treezor_client/models/bankaccount.rb +9 -13
  60. data/lib/treezor_client/models/beneficiaries_sdd_b2b_whitelist.rb +8 -13
  61. data/lib/treezor_client/models/beneficiary.rb +6 -11
  62. data/lib/treezor_client/models/body.rb +11 -15
  63. data/lib/treezor_client/models/body_1.rb +8 -13
  64. data/lib/treezor_client/models/body_10.rb +9 -13
  65. data/lib/treezor_client/models/body_2.rb +6 -11
  66. data/lib/treezor_client/models/body_3.rb +8 -13
  67. data/lib/treezor_client/models/body_4.rb +8 -13
  68. data/lib/treezor_client/models/body_5.rb +11 -15
  69. data/lib/treezor_client/models/body_6.rb +9 -13
  70. data/lib/treezor_client/models/body_7.rb +11 -15
  71. data/lib/treezor_client/models/body_8.rb +9 -13
  72. data/lib/treezor_client/models/body_9.rb +11 -15
  73. data/lib/treezor_client/models/businesssearchs_businessinformations.rb +9 -13
  74. data/lib/treezor_client/models/card.rb +9 -13
  75. data/lib/treezor_client/models/card_digitalization.rb +6 -11
  76. data/lib/treezor_client/models/country_restriction_group.rb +9 -13
  77. data/lib/treezor_client/models/document.rb +9 -13
  78. data/lib/treezor_client/models/error.rb +6 -11
  79. data/lib/treezor_client/models/inline_response_200.rb +6 -11
  80. data/lib/treezor_client/models/inline_response_200_1.rb +6 -11
  81. data/lib/treezor_client/models/inline_response_200_10.rb +6 -11
  82. data/lib/treezor_client/models/inline_response_200_10_cardtransactions.rb +6 -11
  83. data/lib/treezor_client/models/inline_response_200_11.rb +6 -11
  84. data/lib/treezor_client/models/inline_response_200_11_cardtransactions.rb +6 -11
  85. data/lib/treezor_client/models/inline_response_200_12.rb +6 -11
  86. data/lib/treezor_client/models/inline_response_200_13.rb +6 -11
  87. data/lib/treezor_client/models/inline_response_200_14.rb +6 -11
  88. data/lib/treezor_client/models/inline_response_200_15.rb +6 -11
  89. data/lib/treezor_client/models/inline_response_200_16.rb +6 -11
  90. data/lib/treezor_client/models/inline_response_200_17.rb +6 -11
  91. data/lib/treezor_client/models/inline_response_200_18.rb +6 -11
  92. data/lib/treezor_client/models/inline_response_200_19.rb +6 -11
  93. data/lib/treezor_client/models/inline_response_200_2.rb +6 -11
  94. data/lib/treezor_client/models/inline_response_200_20.rb +6 -11
  95. data/lib/treezor_client/models/inline_response_200_21.rb +6 -11
  96. data/lib/treezor_client/models/inline_response_200_22.rb +6 -11
  97. data/lib/treezor_client/models/inline_response_200_23.rb +6 -11
  98. data/lib/treezor_client/models/inline_response_200_24.rb +6 -11
  99. data/lib/treezor_client/models/inline_response_200_25.rb +6 -11
  100. data/lib/treezor_client/models/inline_response_200_26.rb +6 -11
  101. data/lib/treezor_client/models/inline_response_200_27.rb +6 -11
  102. data/lib/treezor_client/models/inline_response_200_28.rb +6 -11
  103. data/lib/treezor_client/models/inline_response_200_3.rb +6 -11
  104. data/lib/treezor_client/models/inline_response_200_4.rb +6 -11
  105. data/lib/treezor_client/models/inline_response_200_5.rb +6 -11
  106. data/lib/treezor_client/models/inline_response_200_5_businessinformations.rb +21 -25
  107. data/lib/treezor_client/models/inline_response_200_5_users.rb +9 -13
  108. data/lib/treezor_client/models/inline_response_200_6.rb +6 -11
  109. data/lib/treezor_client/models/inline_response_200_7.rb +6 -11
  110. data/lib/treezor_client/models/inline_response_200_7_cardimages.rb +8 -14
  111. data/lib/treezor_client/models/inline_response_200_8.rb +6 -11
  112. data/lib/treezor_client/models/inline_response_200_9.rb +6 -11
  113. data/lib/treezor_client/models/inline_response_default.rb +6 -11
  114. data/lib/treezor_client/models/issuer_initiated_digitization_datas_additionnal_data.rb +8 -13
  115. data/lib/treezor_client/models/mandate.rb +15 -19
  116. data/lib/treezor_client/models/mcc_restriction_group.rb +9 -13
  117. data/lib/treezor_client/models/merchant_id_restriction_group.rb +9 -13
  118. data/lib/treezor_client/models/payin.rb +9 -13
  119. data/lib/treezor_client/models/payinrefund.rb +9 -13
  120. data/lib/treezor_client/models/payout.rb +12 -16
  121. data/lib/treezor_client/models/payout_refund.rb +9 -13
  122. data/lib/treezor_client/models/tav.rb +6 -11
  123. data/lib/treezor_client/models/tax_residence.rb +6 -11
  124. data/lib/treezor_client/models/transaction.rb +6 -11
  125. data/lib/treezor_client/models/transfer.rb +9 -13
  126. data/lib/treezor_client/models/transferrefund.rb +9 -13
  127. data/lib/treezor_client/models/user.rb +12 -16
  128. data/lib/treezor_client/models/virtualiban.rb +6 -11
  129. data/lib/treezor_client/models/wallet.rb +9 -13
  130. data/lib/treezor_client/version.rb +2 -2
  131. data/lib/treezor_client.rb +1 -1
  132. data/pkg/treezor_client-1.3.0.gem +0 -0
  133. data/pkg/treezor_client-1.4.0.gem +0 -0
  134. data/treezor_api_spec.yaml +11 -11
  135. metadata +4 -2
@@ -6,11 +6,11 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.1
10
10
 
11
11
  =end
12
12
 
13
- require "uri"
13
+ require 'uri'
14
14
 
15
15
  module TreezorClient
16
16
  class CardDigitalizationsApi
@@ -19,7 +19,6 @@ module TreezorClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
-
23
22
  # Get a card digitalizations based on its internal id
24
23
  # Get a card digitalizations based on its internal id
25
24
  # @param id Card digitalization internal id.
@@ -28,7 +27,7 @@ module TreezorClient
28
27
  # @return [InlineResponse2008]
29
28
  def card_digitalizations_id(id, opts = {})
30
29
  data, _status_code, _headers = card_digitalizations_id_with_http_info(id, opts)
31
- return data
30
+ data
32
31
  end
33
32
 
34
33
  # Get a card digitalizations based on its internal id
@@ -39,14 +38,14 @@ module TreezorClient
39
38
  # @return [Array<(InlineResponse2008, Fixnum, Hash)>] InlineResponse2008 data, response status code and response headers
40
39
  def card_digitalizations_id_with_http_info(id, opts = {})
41
40
  if @api_client.config.debugging
42
- @api_client.config.logger.debug "Calling API: CardDigitalizationsApi.card_digitalizations_id ..."
41
+ @api_client.config.logger.debug 'Calling API: CardDigitalizationsApi.card_digitalizations_id ...'
43
42
  end
44
43
  # verify the required parameter 'id' is set
45
44
  if @api_client.config.client_side_validation && id.nil?
46
45
  fail ArgumentError, "Missing the required parameter 'id' when calling CardDigitalizationsApi.card_digitalizations_id"
47
46
  end
48
47
  # resource path
49
- local_var_path = "/cardDigitalizations/{id}".sub('{' + 'id' + '}', id.to_s)
48
+ local_var_path = '/cardDigitalizations/{id}'.sub('{' + 'id' + '}', id.to_s)
50
49
 
51
50
  # query parameters
52
51
  query_params = {}
@@ -77,7 +76,6 @@ module TreezorClient
77
76
  end
78
77
  return data, status_code, headers
79
78
  end
80
-
81
79
  # Deletes a payment Token
82
80
  # Deletes a payment Token
83
81
  # @param id Card digitalization internal id.
@@ -86,7 +84,7 @@ module TreezorClient
86
84
  # @return [InlineResponse2008]
87
85
  def deletecard_digitalizations_id(id, reason_code, opts = {})
88
86
  data, _status_code, _headers = deletecard_digitalizations_id_with_http_info(id, reason_code, opts)
89
- return data
87
+ data
90
88
  end
91
89
 
92
90
  # Deletes a payment Token
@@ -97,7 +95,7 @@ module TreezorClient
97
95
  # @return [Array<(InlineResponse2008, Fixnum, Hash)>] InlineResponse2008 data, response status code and response headers
98
96
  def deletecard_digitalizations_id_with_http_info(id, reason_code, opts = {})
99
97
  if @api_client.config.debugging
100
- @api_client.config.logger.debug "Calling API: CardDigitalizationsApi.deletecard_digitalizations_id ..."
98
+ @api_client.config.logger.debug 'Calling API: CardDigitalizationsApi.deletecard_digitalizations_id ...'
101
99
  end
102
100
  # verify the required parameter 'id' is set
103
101
  if @api_client.config.client_side_validation && id.nil?
@@ -108,7 +106,7 @@ module TreezorClient
108
106
  fail ArgumentError, "Missing the required parameter 'reason_code' when calling CardDigitalizationsApi.deletecard_digitalizations_id"
109
107
  end
110
108
  # resource path
111
- local_var_path = "/cardDigitalizations/{id}".sub('{' + 'id' + '}', id.to_s)
109
+ local_var_path = '/cardDigitalizations/{id}'.sub('{' + 'id' + '}', id.to_s)
112
110
 
113
111
  # query parameters
114
112
  query_params = {}
@@ -139,7 +137,6 @@ module TreezorClient
139
137
  end
140
138
  return data, status_code, headers
141
139
  end
142
-
143
140
  # Update the status of a payment Token
144
141
  # Update the status of a payment Token
145
142
  # @param id Card digitalization internal id.
@@ -149,7 +146,7 @@ module TreezorClient
149
146
  # @return [InlineResponse2008]
150
147
  def putcard_digitalizations_id(id, status, reason_code, opts = {})
151
148
  data, _status_code, _headers = putcard_digitalizations_id_with_http_info(id, status, reason_code, opts)
152
- return data
149
+ data
153
150
  end
154
151
 
155
152
  # Update the status of a payment Token
@@ -161,7 +158,7 @@ module TreezorClient
161
158
  # @return [Array<(InlineResponse2008, Fixnum, Hash)>] InlineResponse2008 data, response status code and response headers
162
159
  def putcard_digitalizations_id_with_http_info(id, status, reason_code, opts = {})
163
160
  if @api_client.config.debugging
164
- @api_client.config.logger.debug "Calling API: CardDigitalizationsApi.putcard_digitalizations_id ..."
161
+ @api_client.config.logger.debug 'Calling API: CardDigitalizationsApi.putcard_digitalizations_id ...'
165
162
  end
166
163
  # verify the required parameter 'id' is set
167
164
  if @api_client.config.client_side_validation && id.nil?
@@ -176,7 +173,7 @@ module TreezorClient
176
173
  fail ArgumentError, "Missing the required parameter 'reason_code' when calling CardDigitalizationsApi.putcard_digitalizations_id"
177
174
  end
178
175
  # resource path
179
- local_var_path = "/cardDigitalizations/{id}".sub('{' + 'id' + '}', id.to_s)
176
+ local_var_path = '/cardDigitalizations/{id}'.sub('{' + 'id' + '}', id.to_s)
180
177
 
181
178
  # query parameters
182
179
  query_params = {}
@@ -208,7 +205,6 @@ module TreezorClient
208
205
  end
209
206
  return data, status_code, headers
210
207
  end
211
-
212
208
  # search for card digitalizations
213
209
  # Search for card digitalizations.
214
210
  # @param [Hash] opts the optional parameters
@@ -221,7 +217,7 @@ module TreezorClient
221
217
  # @return [InlineResponse2008]
222
218
  def readcard_digitalizations(opts = {})
223
219
  data, _status_code, _headers = readcard_digitalizations_with_http_info(opts)
224
- return data
220
+ data
225
221
  end
226
222
 
227
223
  # search for card digitalizations
@@ -236,10 +232,10 @@ module TreezorClient
236
232
  # @return [Array<(InlineResponse2008, Fixnum, Hash)>] InlineResponse2008 data, response status code and response headers
237
233
  def readcard_digitalizations_with_http_info(opts = {})
238
234
  if @api_client.config.debugging
239
- @api_client.config.logger.debug "Calling API: CardDigitalizationsApi.readcard_digitalizations ..."
235
+ @api_client.config.logger.debug 'Calling API: CardDigitalizationsApi.readcard_digitalizations ...'
240
236
  end
241
237
  # resource path
242
- local_var_path = "/cardDigitalizations"
238
+ local_var_path = '/cardDigitalizations'
243
239
 
244
240
  # query parameters
245
241
  query_params = {}
@@ -6,11 +6,11 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.1
10
10
 
11
11
  =end
12
12
 
13
- require "uri"
13
+ require 'uri'
14
14
 
15
15
  module TreezorClient
16
16
  class CardReserveApi
@@ -19,7 +19,6 @@ module TreezorClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
-
23
22
  # add an amount to the reserved amount of a card
24
23
  # add an amount to the reserved amount of a card
25
24
  # @param [Hash] opts the optional parameters
@@ -31,7 +30,7 @@ module TreezorClient
31
30
  # @return [Float]
32
31
  def card_reserve_add_to(opts = {})
33
32
  data, _status_code, _headers = card_reserve_add_to_with_http_info(opts)
34
- return data
33
+ data
35
34
  end
36
35
 
37
36
  # add an amount to the reserved amount of a card
@@ -45,10 +44,10 @@ module TreezorClient
45
44
  # @return [Array<(Float, Fixnum, Hash)>] Float data, response status code and response headers
46
45
  def card_reserve_add_to_with_http_info(opts = {})
47
46
  if @api_client.config.debugging
48
- @api_client.config.logger.debug "Calling API: CardReserveApi.card_reserve_add_to ..."
47
+ @api_client.config.logger.debug 'Calling API: CardReserveApi.card_reserve_add_to ...'
49
48
  end
50
49
  # resource path
51
- local_var_path = "/cardReserves/AddTo"
50
+ local_var_path = '/cardReserves/AddTo'
52
51
 
53
52
  # query parameters
54
53
  query_params = {}
@@ -82,7 +81,6 @@ module TreezorClient
82
81
  end
83
82
  return data, status_code, headers
84
83
  end
85
-
86
84
  # check reserved amount
87
85
  # Check if an amount can be substract to the reserved amount
88
86
  # @param [Hash] opts the optional parameters
@@ -94,7 +92,7 @@ module TreezorClient
94
92
  # @return [BOOLEAN]
95
93
  def card_reserve_check(opts = {})
96
94
  data, _status_code, _headers = card_reserve_check_with_http_info(opts)
97
- return data
95
+ data
98
96
  end
99
97
 
100
98
  # check reserved amount
@@ -108,10 +106,10 @@ module TreezorClient
108
106
  # @return [Array<(BOOLEAN, Fixnum, Hash)>] BOOLEAN data, response status code and response headers
109
107
  def card_reserve_check_with_http_info(opts = {})
110
108
  if @api_client.config.debugging
111
- @api_client.config.logger.debug "Calling API: CardReserveApi.card_reserve_check ..."
109
+ @api_client.config.logger.debug 'Calling API: CardReserveApi.card_reserve_check ...'
112
110
  end
113
111
  # resource path
114
- local_var_path = "/cardReserves/Check"
112
+ local_var_path = '/cardReserves/Check'
115
113
 
116
114
  # query parameters
117
115
  query_params = {}
@@ -145,7 +143,6 @@ module TreezorClient
145
143
  end
146
144
  return data, status_code, headers
147
145
  end
148
-
149
146
  # get the reserved amount of a card
150
147
  # get the reserved amount of a card
151
148
  # @param id the cardId of the reserved amount you want to pick up
@@ -157,7 +154,7 @@ module TreezorClient
157
154
  # @return [InlineResponse2009]
158
155
  def card_reserve_get(id, opts = {})
159
156
  data, _status_code, _headers = card_reserve_get_with_http_info(id, opts)
160
- return data
157
+ data
161
158
  end
162
159
 
163
160
  # get the reserved amount of a card
@@ -171,14 +168,14 @@ module TreezorClient
171
168
  # @return [Array<(InlineResponse2009, Fixnum, Hash)>] InlineResponse2009 data, response status code and response headers
172
169
  def card_reserve_get_with_http_info(id, opts = {})
173
170
  if @api_client.config.debugging
174
- @api_client.config.logger.debug "Calling API: CardReserveApi.card_reserve_get ..."
171
+ @api_client.config.logger.debug 'Calling API: CardReserveApi.card_reserve_get ...'
175
172
  end
176
173
  # verify the required parameter 'id' is set
177
174
  if @api_client.config.client_side_validation && id.nil?
178
175
  fail ArgumentError, "Missing the required parameter 'id' when calling CardReserveApi.card_reserve_get"
179
176
  end
180
177
  # resource path
181
- local_var_path = "/cardReserves/{id}".sub('{' + 'id' + '}', id.to_s)
178
+ local_var_path = '/cardReserves/{id}'.sub('{' + 'id' + '}', id.to_s)
182
179
 
183
180
  # query parameters
184
181
  query_params = {}
@@ -6,11 +6,11 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.1
10
10
 
11
11
  =end
12
12
 
13
- require "uri"
13
+ require 'uri'
14
14
 
15
15
  module TreezorClient
16
16
  class CardtransactionApi
@@ -19,7 +19,6 @@ module TreezorClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
-
23
22
  # get a card transaction
24
23
  # get a card transaction
25
24
  # @param id Card transactions&#39;s internal id.
@@ -27,7 +26,7 @@ module TreezorClient
27
26
  # @return [InlineResponse20011]
28
27
  def get_cardtransaction(id, opts = {})
29
28
  data, _status_code, _headers = get_cardtransaction_with_http_info(id, opts)
30
- return data
29
+ data
31
30
  end
32
31
 
33
32
  # get a card transaction
@@ -37,14 +36,14 @@ module TreezorClient
37
36
  # @return [Array<(InlineResponse20011, Fixnum, Hash)>] InlineResponse20011 data, response status code and response headers
38
37
  def get_cardtransaction_with_http_info(id, opts = {})
39
38
  if @api_client.config.debugging
40
- @api_client.config.logger.debug "Calling API: CardtransactionApi.get_cardtransaction ..."
39
+ @api_client.config.logger.debug 'Calling API: CardtransactionApi.get_cardtransaction ...'
41
40
  end
42
41
  # verify the required parameter 'id' is set
43
42
  if @api_client.config.client_side_validation && id.nil?
44
43
  fail ArgumentError, "Missing the required parameter 'id' when calling CardtransactionApi.get_cardtransaction"
45
44
  end
46
45
  # resource path
47
- local_var_path = "/cardtransactions/{id}".sub('{' + 'id' + '}', id.to_s)
46
+ local_var_path = '/cardtransactions/{id}'.sub('{' + 'id' + '}', id.to_s)
48
47
 
49
48
  # query parameters
50
49
  query_params = {}
@@ -74,7 +73,6 @@ module TreezorClient
74
73
  end
75
74
  return data, status_code, headers
76
75
  end
77
-
78
76
  # search for card transactions
79
77
  # Search for documents.
80
78
  # @param [Hash] opts the optional parameters
@@ -94,7 +92,7 @@ module TreezorClient
94
92
  # @return [InlineResponse20010]
95
93
  def read_card_transaction(opts = {})
96
94
  data, _status_code, _headers = read_card_transaction_with_http_info(opts)
97
- return data
95
+ data
98
96
  end
99
97
 
100
98
  # search for card transactions
@@ -116,10 +114,10 @@ module TreezorClient
116
114
  # @return [Array<(InlineResponse20010, Fixnum, Hash)>] InlineResponse20010 data, response status code and response headers
117
115
  def read_card_transaction_with_http_info(opts = {})
118
116
  if @api_client.config.debugging
119
- @api_client.config.logger.debug "Calling API: CardtransactionApi.read_card_transaction ..."
117
+ @api_client.config.logger.debug 'Calling API: CardtransactionApi.read_card_transaction ...'
120
118
  end
121
119
  # resource path
122
- local_var_path = "/cardtransactions"
120
+ local_var_path = '/cardtransactions'
123
121
 
124
122
  # query parameters
125
123
  query_params = {}
@@ -6,11 +6,11 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.1
10
10
 
11
11
  =end
12
12
 
13
- require "uri"
13
+ require 'uri'
14
14
 
15
15
  module TreezorClient
16
16
  class CountryRestrictionGroupsApi
@@ -19,7 +19,6 @@ module TreezorClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
-
23
22
  # cancel a country group
24
23
  # Cancel a country restriction group from the system.
25
24
  # @param id country restriction Group internal id.
@@ -28,7 +27,7 @@ module TreezorClient
28
27
  # @return [InlineResponse20016]
29
28
  def delete_country_restriction_groups(id, opts = {})
30
29
  data, _status_code, _headers = delete_country_restriction_groups_with_http_info(id, opts)
31
- return data
30
+ data
32
31
  end
33
32
 
34
33
  # cancel a country group
@@ -39,14 +38,14 @@ module TreezorClient
39
38
  # @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
40
39
  def delete_country_restriction_groups_with_http_info(id, opts = {})
41
40
  if @api_client.config.debugging
42
- @api_client.config.logger.debug "Calling API: CountryRestrictionGroupsApi.delete_country_restriction_groups ..."
41
+ @api_client.config.logger.debug 'Calling API: CountryRestrictionGroupsApi.delete_country_restriction_groups ...'
43
42
  end
44
43
  # verify the required parameter 'id' is set
45
44
  if @api_client.config.client_side_validation && id.nil?
46
45
  fail ArgumentError, "Missing the required parameter 'id' when calling CountryRestrictionGroupsApi.delete_country_restriction_groups"
47
46
  end
48
47
  # resource path
49
- local_var_path = "/countryRestrictionGroups/{id}".sub('{' + 'id' + '}', id.to_s)
48
+ local_var_path = '/countryRestrictionGroups/{id}'.sub('{' + 'id' + '}', id.to_s)
50
49
 
51
50
  # query parameters
52
51
  query_params = {}
@@ -77,7 +76,6 @@ module TreezorClient
77
76
  end
78
77
  return data, status_code, headers
79
78
  end
80
-
81
79
  # search country restriction groups
82
80
  # Get country restriction groups that match search criteria.
83
81
  # @param [Hash] opts the optional parameters
@@ -94,7 +92,7 @@ module TreezorClient
94
92
  # @return [InlineResponse20016]
95
93
  def get_country_restriction_groups(opts = {})
96
94
  data, _status_code, _headers = get_country_restriction_groups_with_http_info(opts)
97
- return data
95
+ data
98
96
  end
99
97
 
100
98
  # search country restriction groups
@@ -113,10 +111,10 @@ module TreezorClient
113
111
  # @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
114
112
  def get_country_restriction_groups_with_http_info(opts = {})
115
113
  if @api_client.config.debugging
116
- @api_client.config.logger.debug "Calling API: CountryRestrictionGroupsApi.get_country_restriction_groups ..."
114
+ @api_client.config.logger.debug 'Calling API: CountryRestrictionGroupsApi.get_country_restriction_groups ...'
117
115
  end
118
116
  # resource path
119
- local_var_path = "/countryRestrictionGroups"
117
+ local_var_path = '/countryRestrictionGroups'
120
118
 
121
119
  # query parameters
122
120
  query_params = {}
@@ -156,7 +154,6 @@ module TreezorClient
156
154
  end
157
155
  return data, status_code, headers
158
156
  end
159
-
160
157
  # get a country group
161
158
  # Get a country group from the system.
162
159
  # @param id country restriction Group internal id.
@@ -165,7 +162,7 @@ module TreezorClient
165
162
  # @return [InlineResponse20016]
166
163
  def get_country_restriction_groups_id(id, opts = {})
167
164
  data, _status_code, _headers = get_country_restriction_groups_id_with_http_info(id, opts)
168
- return data
165
+ data
169
166
  end
170
167
 
171
168
  # get a country group
@@ -176,14 +173,14 @@ module TreezorClient
176
173
  # @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
177
174
  def get_country_restriction_groups_id_with_http_info(id, opts = {})
178
175
  if @api_client.config.debugging
179
- @api_client.config.logger.debug "Calling API: CountryRestrictionGroupsApi.get_country_restriction_groups_id ..."
176
+ @api_client.config.logger.debug 'Calling API: CountryRestrictionGroupsApi.get_country_restriction_groups_id ...'
180
177
  end
181
178
  # verify the required parameter 'id' is set
182
179
  if @api_client.config.client_side_validation && id.nil?
183
180
  fail ArgumentError, "Missing the required parameter 'id' when calling CountryRestrictionGroupsApi.get_country_restriction_groups_id"
184
181
  end
185
182
  # resource path
186
- local_var_path = "/countryRestrictionGroups/{id}".sub('{' + 'id' + '}', id.to_s)
183
+ local_var_path = '/countryRestrictionGroups/{id}'.sub('{' + 'id' + '}', id.to_s)
187
184
 
188
185
  # query parameters
189
186
  query_params = {}
@@ -214,7 +211,6 @@ module TreezorClient
214
211
  end
215
212
  return data, status_code, headers
216
213
  end
217
-
218
214
  # create a countryRestrictionGroup
219
215
  # Create a new country restriction group in the system.
220
216
  # @param [Hash] opts the optional parameters
@@ -227,7 +223,7 @@ module TreezorClient
227
223
  # @return [InlineResponse20016]
228
224
  def post_country_restriction_group(opts = {})
229
225
  data, _status_code, _headers = post_country_restriction_group_with_http_info(opts)
230
- return data
226
+ data
231
227
  end
232
228
 
233
229
  # create a countryRestrictionGroup
@@ -242,10 +238,10 @@ module TreezorClient
242
238
  # @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
243
239
  def post_country_restriction_group_with_http_info(opts = {})
244
240
  if @api_client.config.debugging
245
- @api_client.config.logger.debug "Calling API: CountryRestrictionGroupsApi.post_country_restriction_group ..."
241
+ @api_client.config.logger.debug 'Calling API: CountryRestrictionGroupsApi.post_country_restriction_group ...'
246
242
  end
247
243
  # resource path
248
- local_var_path = "/countryRestrictionGroups"
244
+ local_var_path = '/countryRestrictionGroups'
249
245
 
250
246
  # query parameters
251
247
  query_params = {}
@@ -280,7 +276,6 @@ module TreezorClient
280
276
  end
281
277
  return data, status_code, headers
282
278
  end
283
-
284
279
  # edit a country restriction group
285
280
  # Edit a country restriction group in the system.
286
281
  # @param id country group&#39;s id.
@@ -293,7 +288,7 @@ module TreezorClient
293
288
  # @return [InlineResponse20016]
294
289
  def put_country_restriction_groups(id, opts = {})
295
290
  data, _status_code, _headers = put_country_restriction_groups_with_http_info(id, opts)
296
- return data
291
+ data
297
292
  end
298
293
 
299
294
  # edit a country restriction group
@@ -308,14 +303,14 @@ module TreezorClient
308
303
  # @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
309
304
  def put_country_restriction_groups_with_http_info(id, opts = {})
310
305
  if @api_client.config.debugging
311
- @api_client.config.logger.debug "Calling API: CountryRestrictionGroupsApi.put_country_restriction_groups ..."
306
+ @api_client.config.logger.debug 'Calling API: CountryRestrictionGroupsApi.put_country_restriction_groups ...'
312
307
  end
313
308
  # verify the required parameter 'id' is set
314
309
  if @api_client.config.client_side_validation && id.nil?
315
310
  fail ArgumentError, "Missing the required parameter 'id' when calling CountryRestrictionGroupsApi.put_country_restriction_groups"
316
311
  end
317
312
  # resource path
318
- local_var_path = "/countryRestrictionGroups/{id}".sub('{' + 'id' + '}', id.to_s)
313
+ local_var_path = '/countryRestrictionGroups/{id}'.sub('{' + 'id' + '}', id.to_s)
319
314
 
320
315
  # query parameters
321
316
  query_params = {}