Class: Monobank::Personal::Webhook
- Inherits:
-
Methods::Post
- Object
- Methods::Base
- Methods::Post
- Monobank::Personal::Webhook
- Defined in:
- lib/monobank/personal/webhook.rb
Direct Known Subclasses
Constant Summary collapse
- ENDPOINT =
'/personal/webhook'.freeze
Instance Method Summary collapse
-
#initialize(url:, **rest) ⇒ Webhook
constructor
A new instance of Webhook.
Methods inherited from Methods::Base
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 |