Class: Integrations::Slack
- Inherits:
-
Integration
- Object
- ActiveRecord::Base
- ApplicationRecord
- Integration
- Integrations::Slack
- Defined in:
- app/models/integrations/slack.rb
Constant Summary
Constants included from Base::SlackNotification
Base::SlackNotification::SUPPORTED_EVENTS_FOR_USAGE_LOG
Constants included from Base::ChatNotification
Base::ChatNotification::EVENT_CHANNEL, Base::ChatNotification::GROUP_ONLY_SUPPORTED_EVENTS, Base::ChatNotification::LABEL_NOTIFICATION_BEHAVIOURS, Base::ChatNotification::SECRET_MASK, Base::ChatNotification::SUPPORTED_EVENTS, Base::ChatNotification::SUPPORTED_EVENTS_FOR_LABEL_FILTER
Constants included from NotificationPipelineStatusSelection
NotificationPipelineStatusSelection::FIELD
Constants included from Base::Integration
Base::Integration::BASE_ATTRIBUTES, Base::Integration::BASE_CLASSES, Base::Integration::DEV_INTEGRATION_NAMES, Base::Integration::ENCRYPTED_PROPERTIES_MAX_SIZE, Base::Integration::INSTANCE_LEVEL_ONLY_INTEGRATION_NAMES, Base::Integration::INTEGRATION_NAMES, Base::Integration::PROJECT_AND_GROUP_LEVEL_ONLY_INTEGRATION_NAMES, Base::Integration::PROJECT_LEVEL_ONLY_INTEGRATION_NAMES, Base::Integration::SECTION_TYPE_CONFIGURATION, Base::Integration::SECTION_TYPE_CONNECTION, Base::Integration::SECTION_TYPE_TRIGGER, Base::Integration::SNOWPLOW_EVENT_ACTION, Base::Integration::SNOWPLOW_EVENT_LABEL, Base::Integration::UnknownType
Constants inherited from ApplicationRecord
Constants included from HasCheckConstraints
HasCheckConstraints::NOT_NULL_CHECK_PATTERN
Constants included from ResetOnColumnErrors
ResetOnColumnErrors::MAX_RESET_PERIOD
Class Method Summary collapse
Methods included from Base::SlackNotification
#configurable_channels?, #default_channel_placeholder, #get_message, #supported_events
Methods included from Gitlab::Utils::Override
#extended, extensions, #included, #method_added, #override, #prepended, #queue_verification, verify!
Methods included from Base::ChatNotification
#api_field_names, #channel_limit_per_event, #confidential_issue_channel, #confidential_note_channel, #configurable_channels?, #configurable_events, #default_channel_placeholder, #event_channel_names, #event_channel_value, #execute, #fields, #form_fields, #initialize_properties, #mask_configurable_channels?, #sections, #webhook_help
Methods included from NotificationPipelineStatusSelection
Methods included from NotificationBranchSelection
Methods included from Base::Integration
#activate!, #activate_disabled_reason, #activated?, #after_build_from_integration, #api_field_names, #async_execute, #attributes, #attribution_notice, #category, #chat?, #ci?, #configurable_events, #deactivate!, #default_test_event, #description, #dup, #editable?, #event_channel_names, #event_names, #execute, #fields, #form_fields, #group_level?, #help, #inheritable?, #initialize_properties, #instance_level?, #json_fields, #manual_activation?, #operating?, #organization_id_from_parent, #parent, #project_level?, #reencrypt_properties, #reset_updated_properties, #secret_fields, #sections, #supported_events, #supports_data_fields?, #test, #testable?, #title, #to_database_hash, #to_param, #toggle!, #updated_properties, #validate_encrypted_properties_size_limit
Methods inherited from ApplicationRecord
===, cached_column_list, #create_or_load_association, current_transaction, declarative_enum, default_select_columns, delete_all_returning, #deleted_from_database?, id_in, id_not_in, iid_in, nullable_column?, primary_key_in, #readable_by?, safe_ensure_unique, safe_find_or_create_by, safe_find_or_create_by!, #to_ability_name, underscore, where_exists, where_not_exists, with_fast_read_statement_timeout, without_order
Methods included from Organizations::Sharding
Methods included from ResetOnColumnErrors
#reset_on_union_error, #reset_on_unknown_attribute_error
Methods included from Gitlab::SensitiveSerializableHash
Class Method Details
.description ⇒ Object
13 14 15 |
# File 'app/models/integrations/slack.rb', line 13 def self.description 'Send notifications about project events to Slack.' end |
.title ⇒ Object
9 10 11 |
# File 'app/models/integrations/slack.rb', line 9 def self.title 'Slack notifications' end |
.to_param ⇒ Object
17 18 19 |
# File 'app/models/integrations/slack.rb', line 17 def self.to_param 'slack' end |
.webhook_help ⇒ Object
21 22 23 |
# File 'app/models/integrations/slack.rb', line 21 def self.webhook_help 'https://hooks.slack.com/services/...' end |