Class: Types::Terraform::StateType
- Inherits:
-
BaseObject
- Object
- GraphQL::Schema::Object
- BaseObject
- Types::Terraform::StateType
- Defined in:
- app/graphql/types/terraform/state_type.rb
Instance Method Summary collapse
Methods inherited from BaseObject
accepts, assignable?, authorization, authorization_scopes, authorize, authorized?, #current_user, #id
Methods included from Gitlab::Graphql::Present
Instance Method Details
#locked_by_user ⇒ Object
45 46 47 |
# File 'app/graphql/types/terraform/state_type.rb', line 45 def locked_by_user Gitlab::Graphql::Loaders::BatchModelLoader.new(User, object.locked_by_user_id).find end |