Class: Stripe::Events::UnknownEventNotification
- Inherits:
-
V2::Core::EventNotification
- Object
- V2::Core::EventNotification
- Stripe::Events::UnknownEventNotification
- Defined in:
- lib/stripe/events/unknown_event_notification.rb
Instance Attribute Summary collapse
-
#related_object ⇒ Object
readonly
Returns the value of attribute related_object.
Attributes inherited from V2::Core::EventNotification
#context, #created, #id, #livemode, #reason, #type
Instance Method Summary collapse
Methods inherited from V2::Core::EventNotification
Constructor Details
This class inherits a constructor from Stripe::V2::Core::EventNotification
Instance Attribute Details
#related_object ⇒ Object (readonly)
Returns the value of attribute related_object.
8 9 10 |
# File 'lib/stripe/events/unknown_event_notification.rb', line 8 def end |
Instance Method Details
#fetch_related_object ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/stripe/events/unknown_event_notification.rb', line 10 def return nil if .nil? resp = @client.raw_request(:get, .url, opts: { stripe_context: context }, usage: ["fetch_related_object"]) @client.deserialize(resp.http_body, api_mode: Util.get_api_mode(.url)) end |