mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-11-20 00:01:05 -05:00
Update generated code for v2123 and
This commit is contained in:
parent
9a3c50e7bc
commit
b239118963
@ -1 +1 @@
|
|||||||
f587035a62fe3323ed42077a0526158e57a8260b
|
4e44e29e54f43547d4bff8d37c18e4f8453fb18f
|
||||||
@ -1 +1 @@
|
|||||||
v2121
|
v2123
|
||||||
@ -39,8 +39,6 @@ module Stripe
|
|||||||
@field_remappings = {}
|
@field_remappings = {}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
# Before and after changes for the primary related object.
|
|
||||||
attr_reader :changes
|
|
||||||
# Authentication context needed to fetch the event or related object.
|
# Authentication context needed to fetch the event or related object.
|
||||||
attr_reader :context
|
attr_reader :context
|
||||||
# Time at which the object was created.
|
# Time at which the object was created.
|
||||||
|
|||||||
@ -47688,9 +47688,6 @@ module Stripe
|
|||||||
@field_remappings = {}
|
@field_remappings = {}
|
||||||
end
|
end
|
||||||
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.
|
# Authentication context needed to fetch the event or related object.
|
||||||
sig { returns(T.nilable(String)) }
|
sig { returns(T.nilable(String)) }
|
||||||
def context; end
|
def context; end
|
||||||
|
|||||||
@ -35,9 +35,6 @@ module Stripe
|
|||||||
@field_remappings = {}
|
@field_remappings = {}
|
||||||
end
|
end
|
||||||
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.
|
# Authentication context needed to fetch the event or related object.
|
||||||
sig { returns(T.nilable(String)) }
|
sig { returns(T.nilable(String)) }
|
||||||
def context; end
|
def context; end
|
||||||
|
|||||||
@ -985,7 +985,7 @@ module Stripe
|
|||||||
end
|
end
|
||||||
should "Test core events get (service)" do
|
should "Test core events get (service)" do
|
||||||
stub_request(:get, "#{Stripe::DEFAULT_API_BASE}/v2/core/events/ll_123").to_return(
|
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")
|
client = Stripe::StripeClient.new("sk_test_123")
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user