Class: Copyleaks::IndexedWebhook

Inherits:
StatusWebhook show all
Defined in:
lib/copyleaks/models/submissions/webhooks/IndexedWebhook.rb

Instance Attribute Summary

Attributes inherited from StatusWebhook

#status

Attributes inherited from Webhook

#developerPayload

Instance Method Summary collapse

Methods inherited from StatusWebhook

#as_json, #to_json

Methods inherited from Webhook

#as_json, #to_json

Constructor Details

#initialize(status:, developerPayload: nil, **args) ⇒ IndexedWebhook

No new attr_reader needed — inherited developerPayload



23
24
25
# File 'lib/copyleaks/models/submissions/webhooks/IndexedWebhook.rb', line 23

def initialize(status:, developerPayload: nil, **args)
  super(status: status, developerPayload: developerPayload, **args)
end