Class: Webhooks::Outgoing::Endpoint
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- Webhooks::Outgoing::Endpoint
- Defined in:
- app/models/webhooks/outgoing/endpoint.rb
Instance Method Summary collapse
- #event_types ⇒ Object
-
#valid_event_types ⇒ Object
🚅 add delegations above.
Instance Method Details
#event_types ⇒ Object
27 28 29 |
# File 'app/models/webhooks/outgoing/endpoint.rb', line 27 def event_types event_type_ids.map { |id| Webhooks::Outgoing::EventType.find(id) } end |
#valid_event_types ⇒ Object
🚅 add delegations above.
23 24 25 |
# File 'app/models/webhooks/outgoing/endpoint.rb', line 23 def valid_event_types Webhooks::Outgoing::EventType.all end |