Class: Foil::Server::GateResource

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ GateResource

Returns a new instance of GateResource.



306
307
308
309
310
311
312
313
# File 'lib/foil/server/client.rb', line 306

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.



304
305
306
# File 'lib/foil/server/client.rb', line 304

def agent_tokens
  @agent_tokens
end

#login_sessionsObject (readonly)

Returns the value of attribute login_sessions.



304
305
306
# File 'lib/foil/server/client.rb', line 304

def 
  @login_sessions
end

#registryObject (readonly)

Returns the value of attribute registry.



304
305
306
# File 'lib/foil/server/client.rb', line 304

def registry
  @registry
end

#servicesObject (readonly)

Returns the value of attribute services.



304
305
306
# File 'lib/foil/server/client.rb', line 304

def services
  @services
end

#sessionsObject (readonly)

Returns the value of attribute sessions.



304
305
306
# File 'lib/foil/server/client.rb', line 304

def sessions
  @sessions
end