Class: AdminWebHookEventSerializer

Inherits:
ApplicationSerializer show all
Defined in:
app/serializers/admin_web_hook_event_serializer.rb

Instance Method Summary collapse

Methods inherited from ApplicationSerializer

expire_cache_fragment!, fragment_cache

Methods inherited from ActiveModel::Serializer

#include!

Instance Method Details

#redeliveringObject



20
21
22
# File 'app/serializers/admin_web_hook_event_serializer.rb', line 20

def redelivering
  object.redelivering_webhook_event.present?
end

#request_urlObject



16
17
18
# File 'app/serializers/admin_web_hook_event_serializer.rb', line 16

def request_url
  object.web_hook.payload_url
end