Module: Webhooks::Outgoing::EndpointSupport
- Extended by:
- ActiveSupport::Concern
- Includes:
- UriFiltering
- Included in:
- Endpoint
- Defined in:
- app/models/concerns/webhooks/outgoing/endpoint_support.rb
Instance Method Summary
collapse
#_allowed_uri?, #allowed_uri?, #resolve_ip_from_authoritative
Instance Method Details
#creative_concepts ⇒ Object
32
33
34
|
# File 'app/models/concerns/webhooks/outgoing/endpoint_support.rb', line 32
def creative_concepts
team.scaffolding_absolutely_abstract_creative_concepts
end
|
#event_types ⇒ Object
36
37
38
|
# File 'app/models/concerns/webhooks/outgoing/endpoint_support.rb', line 36
def event_types
event_type_ids.map { |id| Webhooks::Outgoing::EventType.find(id) }
end
|
#valid_event_types ⇒ Object
28
29
30
|
# File 'app/models/concerns/webhooks/outgoing/endpoint_support.rb', line 28
def valid_event_types
Webhooks::Outgoing::EventType.all
end
|