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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e65778f5a13f5cfb704a00eb945e122fee5cbbad159e3e25f98fc5ff7b0fb473
4
- data.tar.gz: 2eee18cd55633d936b50fd7be1e3ea6adc304b52e28e939d842d12136217f3e0
3
+ metadata.gz: 0f838b723d7dced039e0788fbca532deb25a6f63ca4ce5c742b153caab3d3597
4
+ data.tar.gz: af99b4af2d8c09a50ed4f1dc520d56dec25cd8a8e6a0c5b0aa3529e20d295bd7
5
5
  SHA512:
6
- metadata.gz: 7a448dfe663643159d587a6e16bc3c65472542340a7c29ca34048363b1f8992914e4bb7b8789ebabb105679dc26e66665403e66500a27bd019965fd9c335c05f
7
- data.tar.gz: 8b459dce2a2088eca7eae2eb6e39cb8cd3824185737fd337ba0e1d0cb7bdaa7c1ab24fd0376150aa1e7388cdac75eb1ec3be7029f810a1606be40c30b4dacbc6
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 _Only_ for rewards with a previous delivery failure: 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.
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 _Only_ for rewards with a previous delivery failure: 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.
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
@@ -205,6 +205,8 @@ module Tremendous
205
205
  :'last_payment_failed_at',
206
206
  :'interval',
207
207
  :'day_of_week',
208
+ :'address_1',
209
+ :'address_2',
208
210
  :'failure_details'
209
211
  ])
210
212
  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
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Tremendous
2
- VERSION = "5.11.0"
2
+ VERSION = "5.12.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tremendous_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.11.0
4
+ version: 5.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tremendous Developers