Class: Krb::Webhooks::Reset

Inherits:
Base show all
Defined in:
lib/krb/webhooks/reset.rb

Overview

Webhooks methods

Instance Method Summary collapse

Methods inherited from Base

#initialize

Methods inherited from ApplicationService

process, #prompt, #setup_file_name, #setup_file_path, #verify_admin, #verify_production, #verify_setup

Constructor Details

This class inherits a constructor from Krb::Webhooks::Base

Instance Method Details

#processObject



9
10
11
12
13
# File 'lib/krb/webhooks/reset.rb', line 9

def process
  webhooks_list.each do |webhook|
    delete(webhook.dig('id'))
  end
end