tremendous_ruby 5.11.0 → 5.12.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.
- checksums.yaml +4 -4
- data/lib/tremendous/api/tremendous_api.rb +4 -4
- data/lib/tremendous/models/list_funding_sources200_response_funding_sources_inner_meta.rb +2 -0
- data/lib/tremendous/models/list_products_response_products_inner.rb +3 -3
- data/lib/tremendous/models/product.rb +3 -3
- data/lib/tremendous/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f838b723d7dced039e0788fbca532deb25a6f63ca4ce5c742b153caab3d3597
|
4
|
+
data.tar.gz: af99b4af2d8c09a50ed4f1dc520d56dec25cd8a8e6a0c5b0aa3529e20d295bd7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c28df97909dead1e19f0f572dcb711f8a45630edc943515b2b813cabee644e4a15c8bb114189b7958a4371c6176aaa8b342fff7fbdd15dcded235bf55ed84ff6
|
7
|
+
data.tar.gz: b3a9c48dfcc9525945af4c874383a6b362bd3ab7fefe6be4d48ffe7aacddce59287840842729572e8e589d8818e81b7d83175a36143772505af16c9fc30e69e2
|
@@ -3553,10 +3553,10 @@ module Tremendous
|
|
3553
3553
|
end
|
3554
3554
|
|
3555
3555
|
# Resend reward
|
3556
|
-
# Resends a reward, identified by the given `id` in the URL, to its recipient.
|
3556
|
+
# Resends a reward, identified by the given `id` in the URL, to its recipient. Only rewards with a previous delivery failure can be resent.
|
3557
3557
|
# @param id [String] ID of the reward that should be resent
|
3558
3558
|
# @param [Hash] opts the optional parameters
|
3559
|
-
# @option opts [ResendRewardRequest] :resend_reward_request
|
3559
|
+
# @option opts [ResendRewardRequest] :resend_reward_request You can update the email or phone number used for the resend. You can only provide one of `updated_email` or `updated_phone`, not both.
|
3560
3560
|
# @return [Object]
|
3561
3561
|
def resend_reward(id, opts = {})
|
3562
3562
|
data, _status_code, _headers = resend_reward_with_http_info(id, opts)
|
@@ -3564,10 +3564,10 @@ module Tremendous
|
|
3564
3564
|
end
|
3565
3565
|
|
3566
3566
|
# Resend reward
|
3567
|
-
# Resends a reward, identified by the given `id` in the URL, to its recipient.
|
3567
|
+
# Resends a reward, identified by the given `id` in the URL, to its recipient. Only rewards with a previous delivery failure can be resent.
|
3568
3568
|
# @param id [String] ID of the reward that should be resent
|
3569
3569
|
# @param [Hash] opts the optional parameters
|
3570
|
-
# @option opts [ResendRewardRequest] :resend_reward_request
|
3570
|
+
# @option opts [ResendRewardRequest] :resend_reward_request You can update the email or phone number used for the resend. You can only provide one of `updated_email` or `updated_phone`, not both.
|
3571
3571
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
3572
3572
|
def resend_reward_with_http_info(id, opts = {})
|
3573
3573
|
if @api_client.config.debugging
|
@@ -24,7 +24,7 @@ module Tremendous
|
|
24
24
|
# Detailed description of the product. Mostly used for products with a `category` of `charities`.
|
25
25
|
attr_accessor :description
|
26
26
|
|
27
|
-
# The category of this product <table> <thead> <tr> <th>Category</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>ach</code></td> <td>Bank transfer to the recipient</td> </tr> <tr> <td><code>charity</code></td> <td>Donations to a charity</td> </tr> <tr> <td><code>instant_debit_transfer</code></td> <td>Instant debit transfer to the recipient</td> </tr> <tr> <td><code>merchant_card</code></td> <td>A gift card for a certain merchant (e.g. Amazon)</td> </tr> <tr> <td><code>paypal</code></td> <td>Payout via PayPal</td> </tr> <tr> <td><code>venmo</code></td> <td>Payout via Venmo</td> </tr> <tr> <td><code>visa_card</code></td> <td>Payout in form of a Visa debit card</td> </tr> </tbody> </table>
|
27
|
+
# The category of this product <table> <thead> <tr> <th>Category</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>ach</code></td> <td>Bank transfer to the recipient</td> </tr> <tr> <td><code>charity</code></td> <td>Donations to a charity</td> </tr> <tr> <td><code>instant_debit_transfer</code></td> <td>Instant debit transfer to the recipient</td> </tr> <tr> <td><code>merchant_card</code></td> <td>A gift card for a certain merchant (e.g. Amazon)</td> </tr> <tr> <td><code>paypal</code></td> <td>Payout via PayPal</td> </tr> <tr> <td><code>venmo</code></td> <td>Payout via Venmo</td> </tr> <tr> <td><code>visa_card</code></td> <td>Payout in form of a Visa debit card</td> </tr> <tr> <td><code>cash_app</code></td> <td>Payout via Cash App</td> </tr> </tbody> </table>
|
28
28
|
attr_accessor :category
|
29
29
|
|
30
30
|
# Legal disclosures for this product. Can be in HTML format.
|
@@ -271,7 +271,7 @@ module Tremendous
|
|
271
271
|
return false if @name.nil?
|
272
272
|
return false if @description.nil?
|
273
273
|
return false if @category.nil?
|
274
|
-
category_validator = EnumAttributeValidator.new('String', ["ach", "charity", "instant_debit_transfer", "merchant_card", "paypal", "venmo", "visa_card"])
|
274
|
+
category_validator = EnumAttributeValidator.new('String', ["ach", "charity", "instant_debit_transfer", "merchant_card", "paypal", "venmo", "visa_card", "cash_app"])
|
275
275
|
return false unless category_validator.valid?(@category)
|
276
276
|
return false if @disclosure.nil?
|
277
277
|
return false if @currency_codes.nil?
|
@@ -321,7 +321,7 @@ module Tremendous
|
|
321
321
|
# Custom attribute writer method checking allowed values (enum).
|
322
322
|
# @param [Object] category Object to be assigned
|
323
323
|
def category=(category)
|
324
|
-
validator = EnumAttributeValidator.new('String', ["ach", "charity", "instant_debit_transfer", "merchant_card", "paypal", "venmo", "visa_card"])
|
324
|
+
validator = EnumAttributeValidator.new('String', ["ach", "charity", "instant_debit_transfer", "merchant_card", "paypal", "venmo", "visa_card", "cash_app"])
|
325
325
|
unless validator.valid?(category)
|
326
326
|
fail ArgumentError, "invalid value for \"category\", must be one of #{validator.allowable_values}."
|
327
327
|
end
|
@@ -24,7 +24,7 @@ module Tremendous
|
|
24
24
|
# Detailed description of the product. Mostly used for products with a `category` of `charities`.
|
25
25
|
attr_accessor :description
|
26
26
|
|
27
|
-
# The category of this product <table> <thead> <tr> <th>Category</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>ach</code></td> <td>Bank transfer to the recipient</td> </tr> <tr> <td><code>charity</code></td> <td>Donations to a charity</td> </tr> <tr> <td><code>instant_debit_transfer</code></td> <td>Instant debit transfer to the recipient</td> </tr> <tr> <td><code>merchant_card</code></td> <td>A gift card for a certain merchant (e.g. Amazon)</td> </tr> <tr> <td><code>paypal</code></td> <td>Payout via PayPal</td> </tr> <tr> <td><code>venmo</code></td> <td>Payout via Venmo</td> </tr> <tr> <td><code>visa_card</code></td> <td>Payout in form of a Visa debit card</td> </tr> </tbody> </table>
|
27
|
+
# The category of this product <table> <thead> <tr> <th>Category</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>ach</code></td> <td>Bank transfer to the recipient</td> </tr> <tr> <td><code>charity</code></td> <td>Donations to a charity</td> </tr> <tr> <td><code>instant_debit_transfer</code></td> <td>Instant debit transfer to the recipient</td> </tr> <tr> <td><code>merchant_card</code></td> <td>A gift card for a certain merchant (e.g. Amazon)</td> </tr> <tr> <td><code>paypal</code></td> <td>Payout via PayPal</td> </tr> <tr> <td><code>venmo</code></td> <td>Payout via Venmo</td> </tr> <tr> <td><code>visa_card</code></td> <td>Payout in form of a Visa debit card</td> </tr> <tr> <td><code>cash_app</code></td> <td>Payout via Cash App</td> </tr> </tbody> </table>
|
28
28
|
attr_accessor :category
|
29
29
|
|
30
30
|
# Legal disclosures for this product. Can be in HTML format.
|
@@ -271,7 +271,7 @@ module Tremendous
|
|
271
271
|
return false if @name.nil?
|
272
272
|
return false if @description.nil?
|
273
273
|
return false if @category.nil?
|
274
|
-
category_validator = EnumAttributeValidator.new('String', ["ach", "charity", "instant_debit_transfer", "merchant_card", "paypal", "venmo", "visa_card"])
|
274
|
+
category_validator = EnumAttributeValidator.new('String', ["ach", "charity", "instant_debit_transfer", "merchant_card", "paypal", "venmo", "visa_card", "cash_app"])
|
275
275
|
return false unless category_validator.valid?(@category)
|
276
276
|
return false if @disclosure.nil?
|
277
277
|
return false if @currency_codes.nil?
|
@@ -321,7 +321,7 @@ module Tremendous
|
|
321
321
|
# Custom attribute writer method checking allowed values (enum).
|
322
322
|
# @param [Object] category Object to be assigned
|
323
323
|
def category=(category)
|
324
|
-
validator = EnumAttributeValidator.new('String', ["ach", "charity", "instant_debit_transfer", "merchant_card", "paypal", "venmo", "visa_card"])
|
324
|
+
validator = EnumAttributeValidator.new('String', ["ach", "charity", "instant_debit_transfer", "merchant_card", "paypal", "venmo", "visa_card", "cash_app"])
|
325
325
|
unless validator.valid?(category)
|
326
326
|
fail ArgumentError, "invalid value for \"category\", must be one of #{validator.allowable_values}."
|
327
327
|
end
|
data/lib/tremendous/version.rb
CHANGED