Class: ServiceHook

Inherits:
WebHook show all
Extended by:
Gitlab::Utils::Override
Includes:
Presentable
Defined in:
app/models/hooks/service_hook.rb

Constant Summary

Constants inherited from WebHook

WebHook::BACKOFF_GROWTH_FACTOR, WebHook::FAILURE_THRESHOLD, WebHook::INITIAL_BACKOFF, WebHook::MAX_BACKOFF, WebHook::MAX_FAILURES

Constants inherited from ApplicationRecord

ApplicationRecord::MAX_PLUCK

Instance Method Summary collapse

Methods included from Gitlab::Utils::Override

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

Methods included from Presentable

#present

Methods inherited from WebHook

#active_state, #allow_local_requests?, #application_context, #async_execute, #backoff!, #disable!, #enable!, #executable?, #failed!, #help_path, #next_backoff, #parent, #permanently_disabled?, #rate_limit, #rate_limited?, #temporarily_disabled?

Methods inherited from ApplicationRecord

cached_column_list, #create_or_load_association, declarative_enum, default_select_columns, id_in, id_not_in, iid_in, 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 SensitiveSerializableHash

#serializable_hash

Instance Method Details

#execute(data, hook_name = 'service_hook') ⇒ Object


10
11
12
# File 'app/models/hooks/service_hook.rb', line 10

def execute(data, hook_name = 'service_hook')
  super(data, hook_name)
end