Class: Ci::PipelineVariable

Inherits:
ApplicationRecord show all
Extended by:
Gitlab::Ci::Model
Includes:
HasVariable
Defined in:
app/models/ci/pipeline_variable.rb

Instance Method Summary collapse

Methods included from Gitlab::Ci::Model

model_name, table_name_prefix

Methods included from HasVariable

#to_runner_variable

Methods inherited from ApplicationRecord

at_most, id_in, id_not_in, iid_in, pluck_primary_key, primary_key_in, safe_ensure_unique, safe_find_or_create_by, safe_find_or_create_by!, underscore, without_order

Instance Method Details

#hook_attrsObject


14
15
16
# File 'app/models/ci/pipeline_variable.rb', line 14

def hook_attrs
  { key: key, value: value }
end