Class: Integrations::WebexTeams

Inherits:
Integration show all
Includes:
Base::ChatNotification
Defined in:
app/models/integrations/webex_teams.rb

Constant Summary

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 Base::Integration

Base::Integration::BASE_ATTRIBUTES, Base::Integration::BASE_CLASSES, Base::Integration::DEV_INTEGRATION_NAMES, 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

ApplicationRecord::MAX_PLUCK

Constants included from HasCheckConstraints

HasCheckConstraints::NOT_NULL_CHECK_PATTERN

Constants included from ResetOnColumnErrors

ResetOnColumnErrors::MAX_RESET_PERIOD

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Base::ChatNotification

#api_field_names, #channel_limit_per_event, #confidential_issue_channel, #confidential_note_channel, #configurable_channels?, #event_channel_name, #event_channel_names, #event_channel_value, #execute, #fields, #form_fields, #initialize_properties, #mask_configurable_channels?, #sections, #webhook_help

Methods included from Gitlab::Utils::Override

#extended, extensions, #included, #method_added, #override, #prepended, #queue_verification, verify!

Methods included from NotificationBranchSelection

#notify_for_branch?

Methods included from Base::Integration

#activate!, #activate_disabled_reason, #activated?, #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?, #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

Methods inherited from ApplicationRecord

===, cached_column_list, #create_or_load_association, declarative_enum, default_select_columns, id_in, id_not_in, iid_in, nullable_column?, pluck_primary_key, 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 ResetOnColumnErrors

#reset_on_union_error, #reset_on_unknown_attribute_error

Methods included from Gitlab::SensitiveSerializableHash

#serializable_hash

Class Method Details

.descriptionObject



29
30
31
# File 'app/models/integrations/webex_teams.rb', line 29

def self.description
  s_("WebexTeamsService|Send notifications about project events to Webex Teams.")
end

.helpObject



37
38
39
40
41
42
# File 'app/models/integrations/webex_teams.rb', line 37

def self.help
  build_help_page_url(
    'user/project/integrations/webex_teams.md',
    s_("WebexTeamsService|Send notifications about project events to Webex Teams.")
  )
end

.supported_eventsObject



46
47
48
# File 'app/models/integrations/webex_teams.rb', line 46

def self.supported_events
  %w[push issue confidential_issue merge_request note confidential_note tag_push pipeline wiki_page]
end

.titleObject



25
26
27
# File 'app/models/integrations/webex_teams.rb', line 25

def self.title
  s_("WebexTeamsService|Webex Teams")
end

.to_paramObject



33
34
35
# File 'app/models/integrations/webex_teams.rb', line 33

def self.to_param
  'webex_teams'
end

Instance Method Details

#default_channel_placeholderObject



44
# File 'app/models/integrations/webex_teams.rb', line 44

def default_channel_placeholder; end