Update generated code for v985

This commit is contained in:
Stripe OpenAPI 2024-04-24 13:03:40 +00:00
parent fa02db50ab
commit c83c27da74
3 changed files with 6 additions and 6 deletions

View File

@ -1 +1 @@
v979 v985

View File

@ -23,10 +23,10 @@ module Stripe
# `Event` objects directly to an endpoint on your server. You can manage # `Event` objects directly to an endpoint on your server. You can manage
# webhooks in your # webhooks in your
# [account settings](https://dashboard.stripe.com/account/webhooks). Learn how # [account settings](https://dashboard.stripe.com/account/webhooks). Learn how
# to [listen for events](https://stripe.com/docs/webhooks) # to [listen for events](https://docs.stripe.com/webhooks)
# so that your integration can automatically trigger reactions. # so that your integration can automatically trigger reactions.
# #
# When using [Connect](https://stripe.com/docs/connect), you can also receive event notifications # When using [Connect](https://docs.stripe.com/connect), you can also receive event notifications
# that occur in connected accounts. For these events, there's an # that occur in connected accounts. For these events, there's an
# additional `account` attribute in the received `Event` object. # additional `account` attribute in the received `Event` object.
# #
@ -40,7 +40,7 @@ module Stripe
"event" "event"
end end
# List events, going back up to 30 days. Each event data is rendered according to Stripe API version at its creation time, specified in [event object](https://stripe.com/docs/api/events/object) api_version attribute (not according to your current Stripe API version or Stripe-Version header). # List events, going back up to 30 days. Each event data is rendered according to Stripe API version at its creation time, specified in [event object](https://docs.stripe.com/api/events/object) api_version attribute (not according to your current Stripe API version or Stripe-Version header).
def self.list(filters = {}, opts = {}) def self.list(filters = {}, opts = {})
request_stripe_object(method: :get, path: "/v1/events", params: filters, opts: opts) request_stripe_object(method: :get, path: "/v1/events", params: filters, opts: opts)
end end

View File

@ -2,13 +2,13 @@
# frozen_string_literal: true # frozen_string_literal: true
module Stripe module Stripe
# You can configure [webhook endpoints](https://stripe.com/docs/webhooks/) via the API to be # You can configure [webhook endpoints](https://docs.stripe.com/webhooks/) via the API to be
# notified about events that happen in your Stripe account or connected # notified about events that happen in your Stripe account or connected
# accounts. # accounts.
# #
# Most users configure webhooks from [the dashboard](https://dashboard.stripe.com/webhooks), which provides a user interface for registering and testing your webhook endpoints. # Most users configure webhooks from [the dashboard](https://dashboard.stripe.com/webhooks), which provides a user interface for registering and testing your webhook endpoints.
# #
# Related guide: [Setting up webhooks](https://stripe.com/docs/webhooks/configure) # Related guide: [Setting up webhooks](https://docs.stripe.com/webhooks/configure)
class WebhookEndpoint < APIResource class WebhookEndpoint < APIResource
extend Stripe::APIOperations::Create extend Stripe::APIOperations::Create
include Stripe::APIOperations::Delete include Stripe::APIOperations::Delete