Class: Types::Ci::ProjectVariableType

Inherits:
BaseObject
  • Object
show all
Defined in:
app/graphql/types/ci/project_variable_type.rb

Overview

rubocop: disable Graphql/AuthorizeTypes

Direct Known Subclasses

GroupVariableType

Instance Method Summary collapse

Methods inherited from BaseObject

accepts, assignable?, authorization, authorization_scopes, authorize, authorized?, #current_user, #id

Methods included from Gitlab::Graphql::Present

#present, #unpresented

Instance Method Details

#valueObject



33
34
35
# File 'app/graphql/types/ci/project_variable_type.rb', line 33

def value
  ::Ci::VariableValue.new(object).evaluate
end