diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f2777a7..afde2dd8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ * Add support for `trigger_action` method on resource `PaymentIntent` ## 13.1.0 - 2024-10-29 -* [#1472](https://github.com/stripe/stripe-ruby/pull/1472) Update generated code +* [#1472](https://github.com/stripe/stripe-ruby/pull/1472) This release changes the pinned API version to `2024-10-28.acacia`. * Add support for `submit_card` test helper method on resource `Issuing.Card` * Add support for new resource `V2.EventDestinations` * Add support for `create`, `retrieve`, `update`, `list`, `delete`, `disable`, `enable` and `ping` methods on resource `V2.EventDestinations` diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index a3271488..a1ae6d88 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1320 \ No newline at end of file +v1321 \ No newline at end of file diff --git a/lib/stripe/resources/billing/credit_grant.rb b/lib/stripe/resources/billing/credit_grant.rb index b12198e5..43839816 100644 --- a/lib/stripe/resources/billing/credit_grant.rb +++ b/lib/stripe/resources/billing/credit_grant.rb @@ -6,7 +6,6 @@ module Stripe # A credit grant is an API resource that documents the allocation of some billing credits to a customer. # # Related guide: [Billing credits](https://docs.stripe.com/billing/subscriptions/usage-based/billing-credits) - # end class CreditGrant < APIResource extend Stripe::APIOperations::Create extend Stripe::APIOperations::List @@ -27,7 +26,7 @@ module Stripe ) end - # Expires a credit grant + # Expires a credit grant. def expire(params = {}, opts = {}) request_stripe_object( method: :post, @@ -37,7 +36,7 @@ module Stripe ) end - # Expires a credit grant + # Expires a credit grant. def self.expire(id, params = {}, opts = {}) request_stripe_object( method: :post, @@ -47,7 +46,7 @@ module Stripe ) end - # Retrieve a list of credit grants + # Retrieve a list of credit grants. def self.list(filters = {}, opts = {}) request_stripe_object( method: :get, @@ -67,7 +66,7 @@ module Stripe ) end - # Voids a credit grant + # Voids a credit grant. def void_grant(params = {}, opts = {}) request_stripe_object( method: :post, @@ -77,7 +76,7 @@ module Stripe ) end - # Voids a credit grant + # Voids a credit grant. def self.void_grant(id, params = {}, opts = {}) request_stripe_object( method: :post, diff --git a/lib/stripe/services/billing/credit_grant_service.rb b/lib/stripe/services/billing/credit_grant_service.rb index 8596c420..78a92b1b 100644 --- a/lib/stripe/services/billing/credit_grant_service.rb +++ b/lib/stripe/services/billing/credit_grant_service.rb @@ -15,7 +15,7 @@ module Stripe ) end - # Expires a credit grant + # Expires a credit grant. def expire(id, params = {}, opts = {}) request( method: :post, @@ -26,7 +26,7 @@ module Stripe ) end - # Retrieve a list of credit grants + # Retrieve a list of credit grants. def list(params = {}, opts = {}) request( method: :get, @@ -59,7 +59,7 @@ module Stripe ) end - # Voids a credit grant + # Voids a credit grant. def void_grant(id, params = {}, opts = {}) request( method: :post,