Class: AdminWebHookEventSerializer
- Inherits:
-
ApplicationSerializer
- Object
- ActiveModel::Serializer
- ApplicationSerializer
- AdminWebHookEventSerializer
- 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
Instance Method Details
#redelivering ⇒ Object
20 21 22 |
# File 'app/serializers/admin_web_hook_event_serializer.rb', line 20 def redelivering object.redelivering_webhook_event.present? end |
#request_url ⇒ Object
16 17 18 |
# File 'app/serializers/admin_web_hook_event_serializer.rb', line 16 def request_url object.web_hook.payload_url end |