Update generated code for v2123 and

This commit is contained in:
Stripe OpenAPI 2025-11-15 22:38:32 +00:00
parent 9a3c50e7bc
commit b239118963
6 changed files with 3 additions and 11 deletions

View File

@ -1 +1 @@
f587035a62fe3323ed42077a0526158e57a8260b
4e44e29e54f43547d4bff8d37c18e4f8453fb18f

View File

@ -1 +1 @@
v2121
v2123

View File

@ -39,8 +39,6 @@ module Stripe
@field_remappings = {}
end
end
# Before and after changes for the primary related object.
attr_reader :changes
# Authentication context needed to fetch the event or related object.
attr_reader :context
# Time at which the object was created.

View File

@ -47688,9 +47688,6 @@ module Stripe
@field_remappings = {}
end
end
# Before and after changes for the primary related object.
sig { returns(T.nilable(T::Hash[String, T.untyped])) }
def changes; end
# Authentication context needed to fetch the event or related object.
sig { returns(T.nilable(String)) }
def context; end

View File

@ -35,9 +35,6 @@ module Stripe
@field_remappings = {}
end
end
# Before and after changes for the primary related object.
sig { returns(T.nilable(T::Hash[String, T.untyped])) }
def changes; end
# Authentication context needed to fetch the event or related object.
sig { returns(T.nilable(String)) }
def context; end

View File

@ -985,7 +985,7 @@ module Stripe
end
should "Test core events get (service)" do
stub_request(:get, "#{Stripe::DEFAULT_API_BASE}/v2/core/events/ll_123").to_return(
body: '{"changes":{"int_key":123,"string_key":"value","boolean_key":true,"object_key":{"object_int_key":123,"object_string_key":"value","object_boolean_key":true},"array_key":[1,2,3]},"context":"context","created":"1970-01-12T21:42:34.472Z","id":"obj_123","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"obj_123","idempotency_key":"idempotency_key"}},"type":"type"}'
body: '{"context":"context","created":"1970-01-12T21:42:34.472Z","id":"obj_123","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"obj_123","idempotency_key":"idempotency_key"}},"type":"type"}'
)
client = Stripe::StripeClient.new("sk_test_123")