Class: Stripe::V2::Core::EventDestinationService::UpdateParams::WebhookEndpoint

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/v2/core/event_destination_service.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.



117
118
119
# File 'lib/stripe/services/v2/core/event_destination_service.rb', line 117

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

Instance Attribute Details

#urlObject

The URL of the webhook endpoint.



115
116
117
# File 'lib/stripe/services/v2/core/event_destination_service.rb', line 115

def url
  @url
end