mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-07 00:05:33 -04:00
Update generated code for v985
This commit is contained in:
parent
fa02db50ab
commit
c83c27da74
@ -1 +1 @@
|
||||
v979
|
||||
v985
|
@ -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.
|
||||
#
|
||||
@ -40,7 +40,7 @@ module Stripe
|
||||
"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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user