Skip to content

Commit

Permalink
Update generated code for v985
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Apr 24, 2024
1 parent fa02db5 commit c83c27d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v979
v985
6 changes: 3 additions & 3 deletions lib/stripe/resources/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ module Stripe
# `Event` objects directly to an endpoint on your server. You can manage
# webhooks in your
# [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.
#
# 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
# additional `account` attribute in the received `Event` object.
#
Expand All @@ -40,7 +40,7 @@ def self.object_name
"event"
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 = {})
request_stripe_object(method: :get, path: "/v1/events", params: filters, opts: opts)
end
Expand Down
4 changes: 2 additions & 2 deletions lib/stripe/resources/webhook_endpoint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
# frozen_string_literal: true

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
# 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.
#
# 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
extend Stripe::APIOperations::Create
include Stripe::APIOperations::Delete
Expand Down

0 comments on commit c83c27d

Please sign in to comment.