Class: Gitlab::Ci::Variables::Downstream::RawVariableGenerator

Inherits:
Base
  • Object
show all
Defined in:
lib/gitlab/ci/variables/downstream/raw_variable_generator.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Gitlab::Ci::Variables::Downstream::Base

Instance Method Details

#for(item) ⇒ Object



8
9
10
# File 'lib/gitlab/ci/variables/downstream/raw_variable_generator.rb', line 8

def for(item)
  [{ key: item.key, value: item.value, raw: true }]
end