Method: Integromat::Webhook#initialize

Defined in:
lib/integromat/webhook.rb

#initialize(hook_ref, hook_id = nil) ⇒ Webhook

Returns a new instance of Webhook.



5
6
7
8
9
10
11
# File 'lib/integromat/webhook.rb', line 5

def initialize(hook_ref, hook_id = nil)
  super()

  self.hook_ref = hook_ref

  @web_hook_id = hook_id if hook_id
end