Class: Monobank::Personal::Webhook

Inherits:
Methods::Post show all
Defined in:
lib/monobank/personal/webhook.rb

Direct Known Subclasses

CorporateWebhook

Constant Summary collapse

ENDPOINT =
'/personal/webhook'.freeze

Instance Method Summary collapse

Methods inherited from Methods::Base

#call

Constructor Details

#initialize(url:, **rest) ⇒ Webhook

Returns a new instance of Webhook.



9
10
11
12
13
# File 'lib/monobank/personal/webhook.rb', line 9

def initialize(url:, **rest)
  super(**rest)

  @url = url
end