Class: Types::Kas::AgentConnectionType

Inherits:
BaseObject
  • Object
show all
Defined in:
app/graphql/types/kas/agent_connection_type.rb

Overview

rubocop: disable Graphql/AuthorizeTypes

Instance Method Summary collapse

Methods inherited from BaseObject

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

Methods included from Gitlab::Graphql::Present

#present, #unpresented

Instance Method Details

#connected_atObject



26
27
28
# File 'app/graphql/types/kas/agent_connection_type.rb', line 26

def connected_at
  Time.at(object.connected_at.seconds)
end