transferzero-sdk 1.19.1 → 1.19.4

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 (46) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +92 -0
  3. data/README.md +4 -4
  4. data/docs/CurrencyExchangeAllOf.md +17 -0
  5. data/docs/CurrencyOppositeAllOf.md +21 -0
  6. data/docs/DocumentWebhookAllOf.md +17 -0
  7. data/docs/PayinMethod.md +1 -1
  8. data/docs/PayinMethodDetails.md +2 -0
  9. data/docs/PayinMethodDetailsMobile.md +3 -1
  10. data/docs/PayinMethodsApi.md +7 -6
  11. data/docs/PayoutMethodWebhookAllOf.md +17 -0
  12. data/docs/PayoutMethodsApi.md +1 -1
  13. data/docs/RecipientWebhookAllOf.md +17 -0
  14. data/docs/SenderWebhookAllOf.md +17 -0
  15. data/docs/SendersApi.md +1 -1
  16. data/docs/TransactionWebhookAllOf.md +17 -0
  17. data/lib/transferzero-sdk/api/payin_methods_api.rb +10 -7
  18. data/lib/transferzero-sdk/api/payout_methods_api.rb +2 -2
  19. data/lib/transferzero-sdk/api/senders_api.rb +2 -2
  20. data/lib/transferzero-sdk/api_client.rb +1 -1
  21. data/lib/transferzero-sdk/models/currency_exchange_all_of.rb +205 -0
  22. data/lib/transferzero-sdk/models/currency_opposite_all_of.rb +223 -0
  23. data/lib/transferzero-sdk/models/document_webhook_all_of.rb +202 -0
  24. data/lib/transferzero-sdk/models/payin_method.rb +1 -1
  25. data/lib/transferzero-sdk/models/payin_method_details.rb +11 -1
  26. data/lib/transferzero-sdk/models/payin_method_details_mobile.rb +14 -4
  27. data/lib/transferzero-sdk/models/payin_method_ux_flow.rb +3 -0
  28. data/lib/transferzero-sdk/models/payout_method_country_enum.rb +1 -1
  29. data/lib/transferzero-sdk/models/payout_method_webhook_all_of.rb +202 -0
  30. data/lib/transferzero-sdk/models/recipient_webhook_all_of.rb +202 -0
  31. data/lib/transferzero-sdk/models/sender_webhook_all_of.rb +202 -0
  32. data/lib/transferzero-sdk/models/transaction_webhook_all_of.rb +202 -0
  33. data/lib/transferzero-sdk/version.rb +1 -1
  34. data/spec/models/currency_exchange_all_of_spec.rb +41 -0
  35. data/spec/models/currency_opposite_all_of_spec.rb +53 -0
  36. data/spec/models/document_webhook_all_of_spec.rb +41 -0
  37. data/spec/models/payout_method_webhook_all_of_spec.rb +41 -0
  38. data/spec/models/recipient_webhook_all_of_spec.rb +41 -0
  39. data/spec/models/sender_webhook_all_of_spec.rb +41 -0
  40. data/spec/models/transaction_webhook_all_of_spec.rb +41 -0
  41. data/transferzero-sdk-1.19.0.gem +0 -0
  42. data/transferzero-sdk-1.19.2.gem +0 -0
  43. data/transferzero-sdk-1.19.3.gem +0 -0
  44. data/transferzero-sdk.gemspec +1 -1
  45. metadata +50 -13
  46. data/transferzero-sdk-1.17.0.gem +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '00468d46970a925efd5635a7582a0d3a1c1960f9506eb0a50d9b2abcaddc5a20'
4
- data.tar.gz: c6ee6c667f53b785dc92c3635ba29f1350d28b66dadddbbe7f7041e9ffa173fc
3
+ metadata.gz: 602271671f52a7649c3698451bde3dd6a2c70de06944b174b82b9e8b0df2c733
4
+ data.tar.gz: 93e2aa81dfb001bbeffe45565e61fd9aa5a8bb146c337196e7fca5f0dbcebdeb
5
5
  SHA512:
6
- metadata.gz: 4cca859d0aa1c027a2a4d99fd3f84c3274143ebae977de2aa69a3f3397e9869cbf1b79a32d3b6c18be2613a58dcbc11f76e4898a2c443876a5b7c42a25fa00c2
7
- data.tar.gz: 574688f95c6f1cd9c2675d3730ad647a635507df70d83c15dc60a547e737f8515a6b3a587744c378a6ee2ceed8b78f6d1053317f3ca6ad25c8cfd325b7542483
6
+ metadata.gz: c684085f257fdfddd321958193bf67747a48d7741dc336dd196bb8852489c1d79e880ab1fcb14ee0a0c2fe90bbf687f98d3a4a4c65aaf0115a99b5e50afd572b
7
+ data.tar.gz: f157ab2e97ff128761e96a90cf5391aeed831599c843e9e895b54d064f73db662de4e5afc2032c78f25b0ed3669f73d614eb1c835c454420ad28e3c45988d9f2
data/Gemfile.lock ADDED
@@ -0,0 +1,92 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ transferzero-sdk (1.11.0)
5
+ activesupport (>= 4)
6
+ json (>= 1.4)
7
+ typhoeus (~> 1.0, >= 1.0.1)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ ZenTest (4.12.0)
13
+ activesupport (6.1.3)
14
+ concurrent-ruby (~> 1.0, >= 1.0.2)
15
+ i18n (>= 1.6, < 2)
16
+ minitest (>= 5.1)
17
+ tzinfo (~> 2.0)
18
+ zeitwerk (~> 2.3)
19
+ addressable (2.7.0)
20
+ public_suffix (>= 2.0.2, < 5.0)
21
+ autotest (4.4.6)
22
+ ZenTest (>= 4.4.1)
23
+ autotest-fsevent (0.2.17)
24
+ sys-uname
25
+ autotest-growl (0.2.16)
26
+ autotest-rails-pure (4.1.2)
27
+ byebug (11.1.3)
28
+ coderay (1.1.3)
29
+ concurrent-ruby (1.1.8)
30
+ crack (0.4.4)
31
+ diff-lcs (1.4.4)
32
+ ethon (0.12.0)
33
+ ffi (>= 1.3.0)
34
+ ffi (1.13.1)
35
+ hashdiff (1.0.1)
36
+ i18n (1.8.9)
37
+ concurrent-ruby (~> 1.0)
38
+ json (2.5.1)
39
+ method_source (1.0.0)
40
+ minitest (5.14.3)
41
+ pry (0.13.1)
42
+ coderay (~> 1.1)
43
+ method_source (~> 1.0)
44
+ pry-byebug (3.9.0)
45
+ byebug (~> 11.0)
46
+ pry (~> 0.13.0)
47
+ public_suffix (4.0.6)
48
+ rake (12.0.0)
49
+ rspec (3.10.0)
50
+ rspec-core (~> 3.10.0)
51
+ rspec-expectations (~> 3.10.0)
52
+ rspec-mocks (~> 3.10.0)
53
+ rspec-core (3.10.0)
54
+ rspec-support (~> 3.10.0)
55
+ rspec-expectations (3.10.0)
56
+ diff-lcs (>= 1.2.0, < 2.0)
57
+ rspec-support (~> 3.10.0)
58
+ rspec-mocks (3.10.0)
59
+ diff-lcs (>= 1.2.0, < 2.0)
60
+ rspec-support (~> 3.10.0)
61
+ rspec-support (3.10.0)
62
+ sys-uname (1.2.2)
63
+ ffi (~> 1.1)
64
+ typhoeus (1.4.0)
65
+ ethon (>= 0.9.0)
66
+ tzinfo (2.0.4)
67
+ concurrent-ruby (~> 1.0)
68
+ vcr (3.0.3)
69
+ webmock (1.24.6)
70
+ addressable (>= 2.3.6)
71
+ crack (>= 0.3.2)
72
+ hashdiff
73
+ zeitwerk (2.4.2)
74
+
75
+ PLATFORMS
76
+ ruby
77
+
78
+ DEPENDENCIES
79
+ ZenTest (~> 4.11, >= 4.11.2)
80
+ autotest (~> 4.4, >= 4.4.6)
81
+ autotest-fsevent (~> 0.2, >= 0.2.12)
82
+ autotest-growl (~> 0.2, >= 0.2.16)
83
+ autotest-rails-pure (~> 4.1, >= 4.1.2)
84
+ pry-byebug
85
+ rake (~> 12.0.0)
86
+ rspec (~> 3.6, >= 3.6.0)
87
+ transferzero-sdk!
88
+ vcr (~> 3.0, >= 3.0.1)
89
+ webmock (~> 1.24, >= 1.24.3)
90
+
91
+ BUNDLED WITH
92
+ 1.17.3
data/README.md CHANGED
@@ -7,7 +7,7 @@ Reference documentation for the TransferZero API V1
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 1.0
10
- - Package version: 1.19.1
10
+ - Package version: 1.19.4
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
 
13
13
  For more information, please visit:
@@ -31,15 +31,15 @@ gem build transferzero-sdk.gemspec
31
31
  Then either install the gem locally:
32
32
 
33
33
  ```shell
34
- gem install ./transferzero-sdk-1.19.1.gem
34
+ gem install ./transferzero-sdk-1.19.4.gem
35
35
  ```
36
- (for development, run `gem install --dev ./transferzero-sdk-1.19.1.gem` to install the development dependencies)
36
+ (for development, run `gem install --dev ./transferzero-sdk-1.19.4.gem` to install the development dependencies)
37
37
 
38
38
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
39
39
 
40
40
  Finally add this to the Gemfile:
41
41
 
42
- gem 'transferzero-sdk', '~> 1.19.1'
42
+ gem 'transferzero-sdk', '~> 1.19.4'
43
43
 
44
44
  ### Install from Git
45
45
 
@@ -0,0 +1,17 @@
1
+ # TransferZero::CurrencyExchangeAllOf
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **opposites** | [**Array&lt;CurrencyOpposite&gt;**](CurrencyOpposite.md) | Lists the currencies where you can exchange from this one | [optional]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'TransferZero'
13
+
14
+ instance = TransferZero::CurrencyExchangeAllOf.new(opposites: null)
15
+ ```
16
+
17
+
@@ -0,0 +1,21 @@
1
+ # TransferZero::CurrencyOppositeAllOf
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **rate** | **Float** | The rate of this particular currency with the base one | [optional]
8
+ **mtm_rate** | **Float** | Mark to market rate of this particular currency against the base one with the margin factored in | [optional]
9
+ **margin** | **String** | The margin set for transactions of this particular currency with the base one | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'TransferZero'
15
+
16
+ instance = TransferZero::CurrencyOppositeAllOf.new(rate: null,
17
+ mtm_rate: null,
18
+ margin: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,17 @@
1
+ # TransferZero::DocumentWebhookAllOf
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **object** | [**Document**](Document.md) | | [optional]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'TransferZero'
13
+
14
+ instance = TransferZero::DocumentWebhookAllOf.new(object: null)
15
+ ```
16
+
17
+
data/docs/PayinMethod.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | Describes how the payment should be requested from the sender. Possible values: - &#x60;GHS::Mobile&#x60;: GHS mobile collections - &#x60;UGX::Mobile&#x60;: UGX mobile collections - &#x60;EUR::Bank&#x60;: EUR IBAN collections - &#x60;GBP::Bank&#x60;: GBP IBAN collections | [optional]
7
+ **type** | **String** | Describes how the payment should be requested from the sender. Possible values: - &#x60;GHS::Mobile&#x60;: GHS mobile collections - &#x60;UGX::Mobile&#x60;: UGX mobile collections - &#x60;XOF::Mobile&#x60;: XOF mobile collections - &#x60;EUR::Bank&#x60;: EUR IBAN collections - &#x60;GBP::Bank&#x60;: GBP IBAN collections | [optional]
8
8
  **ux_flow** | [**PayinMethodUxFlow**](PayinMethodUxFlow.md) | | [optional]
9
9
  **in_details** | [**PayinMethodDetails**](PayinMethodDetails.md) | | [optional]
10
10
  **id** | **String** | | [optional]
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  **redirect_url** | **String** | This is where the sender should be redirected back when the payment has been finished | [optional]
9
9
  **phone_number** | **String** | The phone number where the funds should be collected from | [optional]
10
10
  **mobile_provider** | [**PayoutMethodMobileProviderEnum**](PayoutMethodMobileProviderEnum.md) | | [optional]
11
+ **otp** | **String** | The OTP that the sender received in otp verified ussd popup ux flow. | [optional]
11
12
  **refund_address** | **String** | Please make sure the refund_address is a valid BTC address belonging to the sender, as that is going to be used in case the transaction has to be refunded. | [optional]
12
13
 
13
14
  ## Code Sample
@@ -19,6 +20,7 @@ instance = TransferZero::PayinMethodDetails.new(payment_method: null,
19
20
  redirect_url: null,
20
21
  phone_number: +2569999999,
21
22
  mobile_provider: null,
23
+ otp: null,
22
24
  refund_address: null)
23
25
  ```
24
26
 
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **phone_number** | **String** | The phone number where the funds should be collected from | [optional]
8
8
  **mobile_provider** | [**PayoutMethodMobileProviderEnum**](PayoutMethodMobileProviderEnum.md) | | [optional]
9
+ **otp** | **String** | The OTP that the sender received in otp verified ussd popup ux flow. | [optional]
9
10
 
10
11
  ## Code Sample
11
12
 
@@ -13,7 +14,8 @@ Name | Type | Description | Notes
13
14
  require 'TransferZero'
14
15
 
15
16
  instance = TransferZero::PayinMethodDetailsMobile.new(phone_number: +2569999999,
16
- mobile_provider: null)
17
+ mobile_provider: null,
18
+ otp: null)
17
19
  ```
18
20
 
19
21
 
@@ -137,7 +137,7 @@ end
137
137
 
138
138
  Updating a payin method
139
139
 
140
- Updates the payin method specified in the URL path.
140
+ Updates a single payin method by the Payin Method ID
141
141
 
142
142
  ### Example
143
143
  ```ruby
@@ -195,7 +195,7 @@ end
195
195
 
196
196
 
197
197
  # **retry_payin_method**
198
- > retry_payin_method(payin_method_id)
198
+ > PayinMethodResponse retry_payin_method(payin_method_id)
199
199
 
200
200
  Retries PayinMethod
201
201
 
@@ -211,11 +211,12 @@ api_instance = TransferZero::PayinMethodsApi.new
211
211
 
212
212
  begin
213
213
  #Retries PayinMethod
214
- api_instance.retry_payin_method(payin_method_id)
214
+ result = api_instance.retry_payin_method(payin_method_id)
215
+ p result
215
216
  rescue TransferZero::ApiError => e
216
217
  if e.validation_error
217
218
  puts "WARN: Validation error occured when calling the endpoint"
218
- result = e.response_object("")
219
+ result = e.response_object("PayinMethodResponse")
219
220
  p result
220
221
  else
221
222
  puts "Exception when calling PayinMethodsApi->retry_payin_method: #{e}"
@@ -231,7 +232,7 @@ Name | Type | Description | Notes
231
232
 
232
233
  ### Return type
233
234
 
234
- nil (empty response body)
235
+ [**PayinMethodResponse**](PayinMethodResponse.md)
235
236
 
236
237
  ### Authorization
237
238
 
@@ -250,7 +251,7 @@ end
250
251
  ### HTTP request headers
251
252
 
252
253
  - **Content-Type**: Not defined
253
- - **Accept**: Not defined
254
+ - **Accept**: application/json
254
255
 
255
256
 
256
257
 
@@ -0,0 +1,17 @@
1
+ # TransferZero::PayoutMethodWebhookAllOf
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **object** | [**PayoutMethod**](PayoutMethod.md) | | [optional]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'TransferZero'
13
+
14
+ instance = TransferZero::PayoutMethodWebhookAllOf.new(object: null)
15
+ ```
16
+
17
+
@@ -214,7 +214,7 @@ end
214
214
 
215
215
  Updating a payout method
216
216
 
217
- Updates the payout method specified in the URL path.
217
+ Updates a single payout method by the Payout Method ID
218
218
 
219
219
  ### Example
220
220
  ```ruby
@@ -0,0 +1,17 @@
1
+ # TransferZero::RecipientWebhookAllOf
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **object** | [**Recipient**](Recipient.md) | | [optional]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'TransferZero'
13
+
14
+ instance = TransferZero::RecipientWebhookAllOf.new(object: null)
15
+ ```
16
+
17
+
@@ -0,0 +1,17 @@
1
+ # TransferZero::SenderWebhookAllOf
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **object** | [**Sender**](Sender.md) | | [optional]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'TransferZero'
13
+
14
+ instance = TransferZero::SenderWebhookAllOf.new(object: null)
15
+ ```
16
+
17
+
data/docs/SendersApi.md CHANGED
@@ -210,7 +210,7 @@ end
210
210
 
211
211
  Updating a sender
212
212
 
213
- Updates the sender specified in the URL path.
213
+ Updates a single sender by the Sender ID
214
214
 
215
215
  ### Example
216
216
  ```ruby
@@ -0,0 +1,17 @@
1
+ # TransferZero::TransactionWebhookAllOf
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **object** | [**Transaction**](Transaction.md) | | [optional]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'TransferZero'
13
+
14
+ instance = TransferZero::TransactionWebhookAllOf.new(object: null)
15
+ ```
16
+
17
+
@@ -130,7 +130,7 @@ module TransferZero
130
130
 
131
131
 
132
132
  # Updating a payin method
133
- # Updates the payin method specified in the URL path.
133
+ # Updates a single payin method by the Payin Method ID
134
134
  # @param payin_method_id ID of the payin method to get. Example: &#x60;/v1/payin_methods/bf9ff782-e182-45ac-abea-5bce83ad6670&#x60;
135
135
  # @param payin_method
136
136
  # @param [Hash] opts the optional parameters
@@ -141,7 +141,7 @@ module TransferZero
141
141
  end
142
142
 
143
143
  # Updating a payin method
144
- # Updates the payin method specified in the URL path.
144
+ # Updates a single payin method by the Payin Method ID
145
145
  # @param payin_method_id ID of the payin method to get. Example: &#x60;/v1/payin_methods/bf9ff782-e182-45ac-abea-5bce83ad6670&#x60;
146
146
  # @param payin_method
147
147
  # @param [Hash] opts the optional parameters
@@ -195,17 +195,17 @@ module TransferZero
195
195
  # Retries the collection process for the payin method. Please note only payin methods in `error` state can be retried.
196
196
  # @param payin_method_id ID of the payin method whose collection process should be retried Example: &#x60;/v1/payin_methods/9d4d7b73-a94c-4979-ab57-09074fd55d33/retry&#x60;
197
197
  # @param [Hash] opts the optional parameters
198
- # @return [nil]
198
+ # @return [PayinMethodResponse]
199
199
  def retry_payin_method(payin_method_id, opts = {})
200
- retry_payin_method_with_http_info(payin_method_id, opts)
201
- nil
200
+ data, _status_code, _headers = retry_payin_method_with_http_info(payin_method_id, opts)
201
+ data
202
202
  end
203
203
 
204
204
  # Retries PayinMethod
205
205
  # Retries the collection process for the payin method. Please note only payin methods in &#x60;error&#x60; state can be retried.
206
206
  # @param payin_method_id ID of the payin method whose collection process should be retried Example: &#x60;/v1/payin_methods/9d4d7b73-a94c-4979-ab57-09074fd55d33/retry&#x60;
207
207
  # @param [Hash] opts the optional parameters
208
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
208
+ # @return [Array<(PayinMethodResponse, Fixnum, Hash)>] PayinMethodResponse data, response status code and response headers
209
209
  def retry_payin_method_with_http_info(payin_method_id, opts = {})
210
210
  if @api_client.config.debugging
211
211
  @api_client.config.logger.debug 'Calling API: PayinMethodsApi.retry_payin_method ...'
@@ -222,6 +222,8 @@ module TransferZero
222
222
 
223
223
  # header parameters
224
224
  header_params = {}
225
+ # HTTP header 'Accept' (if needed)
226
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
225
227
 
226
228
  # form parameters
227
229
  form_params = {}
@@ -234,7 +236,8 @@ module TransferZero
234
236
  :query_params => query_params,
235
237
  :form_params => form_params,
236
238
  :body => post_body,
237
- :auth_names => auth_names)
239
+ :auth_names => auth_names,
240
+ :return_type => 'PayinMethodResponse')
238
241
  if @api_client.config.debugging
239
242
  @api_client.config.logger.debug "API called: PayinMethodsApi#retry_payin_method\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
240
243
  end
@@ -202,7 +202,7 @@ module TransferZero
202
202
 
203
203
 
204
204
  # Updating a payout method
205
- # Updates the payout method specified in the URL path.
205
+ # Updates a single payout method by the Payout Method ID
206
206
  # @param payout_method_id ID of the payout method to get. Example: &#x60;/v1/payout_methods/bf9ff782-e182-45ac-abea-5bce83ad6670&#x60;
207
207
  # @param payout_method
208
208
  # @param [Hash] opts the optional parameters
@@ -213,7 +213,7 @@ module TransferZero
213
213
  end
214
214
 
215
215
  # Updating a payout method
216
- # Updates the payout method specified in the URL path.
216
+ # Updates a single payout method by the Payout Method ID
217
217
  # @param payout_method_id ID of the payout method to get. Example: &#x60;/v1/payout_methods/bf9ff782-e182-45ac-abea-5bce83ad6670&#x60;
218
218
  # @param payout_method
219
219
  # @param [Hash] opts the optional parameters
@@ -203,7 +203,7 @@ module TransferZero
203
203
 
204
204
 
205
205
  # Updating a sender
206
- # Updates the sender specified in the URL path.
206
+ # Updates a single sender by the Sender ID
207
207
  # @param sender_id ID of the sender to get. Example: &#x60;/v1/senders/bf9ff782-e182-45ac-abea-5bce83ad6670&#x60;
208
208
  # @param sender_request
209
209
  # @param [Hash] opts the optional parameters
@@ -214,7 +214,7 @@ module TransferZero
214
214
  end
215
215
 
216
216
  # Updating a sender
217
- # Updates the sender specified in the URL path.
217
+ # Updates a single sender by the Sender ID
218
218
  # @param sender_id ID of the sender to get. Example: &#x60;/v1/senders/bf9ff782-e182-45ac-abea-5bce83ad6670&#x60;
219
219
  # @param sender_request
220
220
  # @param [Hash] opts the optional parameters
@@ -35,7 +35,7 @@ module TransferZero
35
35
  # @option config [Configuration] Configuration for initializing the object, default to Configuration.default
36
36
  def initialize(config = Configuration.default)
37
37
  @config = config
38
- @user_agent = "TransferZero-SDK/Ruby/1.19.1"
38
+ @user_agent = "TransferZero-SDK/Ruby/1.19.4"
39
39
  @default_headers = {
40
40
  'Content-Type' => 'application/json',
41
41
  'User-Agent' => @user_agent