lib/ruby-lokalise-api/resources/webhook.rb in ruby-lokalise-api-4.4.0 vs lib/ruby-lokalise-api/resources/webhook.rb in ruby-lokalise-api-4.5.0
- old
+ new
@@ -1,9 +1,10 @@
# frozen_string_literal: true
module Lokalise
module Resources
class Webhook < Base
+ ID_KEY = 'webhook_id'
supports :update, :destroy, [:reload_data, '', :find]
def regenerate_secret
self.class.regenerate_secret @client, "#{@path}/secret/regenerate"
end