Class: Stripe::V2::Core::EventDestinationCreateParams::WebhookEndpoint

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/core/event_destination_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(url: nil) ⇒ WebhookEndpoint

Returns a new instance of WebhookEndpoint.



24
25
26
# File 'lib/stripe/params/v2/core/event_destination_create_params.rb', line 24

def initialize(url: nil)
  @url = url
end

Instance Attribute Details

#urlObject

The URL of the webhook endpoint.



22
23
24
# File 'lib/stripe/params/v2/core/event_destination_create_params.rb', line 22

def url
  @url
end