Class: Tripwire::Server::GateResource

Inherits:
BaseResource show all
Defined in:
lib/tripwire/server/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ GateResource

Returns a new instance of GateResource.



294
295
296
297
298
299
300
301
# File 'lib/tripwire/server/client.rb', line 294

def initialize(client)
  super(client)
  @registry = GateRegistryResource.new(client)
  @services = GateServicesResource.new(client)
  @sessions = GateSessionsResource.new(client)
  @login_sessions = GateLoginSessionsResource.new(client)
  @agent_tokens = GateAgentTokensResource.new(client)
end

Instance Attribute Details

#agent_tokensObject (readonly)

Returns the value of attribute agent_tokens.



292
293
294
# File 'lib/tripwire/server/client.rb', line 292

def agent_tokens
  @agent_tokens
end

#login_sessionsObject (readonly)

Returns the value of attribute login_sessions.



292
293
294
# File 'lib/tripwire/server/client.rb', line 292

def 
  @login_sessions
end

#registryObject (readonly)

Returns the value of attribute registry.



292
293
294
# File 'lib/tripwire/server/client.rb', line 292

def registry
  @registry
end

#servicesObject (readonly)

Returns the value of attribute services.



292
293
294
# File 'lib/tripwire/server/client.rb', line 292

def services
  @services
end

#sessionsObject (readonly)

Returns the value of attribute sessions.



292
293
294
# File 'lib/tripwire/server/client.rb', line 292

def sessions
  @sessions
end