Method: Bl::Webhooks#update

Defined in:
lib/bl/webhooks.rb

#update(id) ⇒ Object



32
33
34
35
36
# File 'lib/bl/webhooks.rb', line 32

def update(id)
  res = request(:patch, "#{@url}/#{id}", options.to_h)
  puts 'webhook updated'
  print_response(res)
end