Class: Tripwire::Server::GateResource
- Inherits:
-
BaseResource
- Object
- BaseResource
- Tripwire::Server::GateResource
- Defined in:
- lib/tripwire/server/client.rb
Instance Attribute Summary collapse
-
#agent_tokens ⇒ Object
readonly
Returns the value of attribute agent_tokens.
-
#login_sessions ⇒ Object
readonly
Returns the value of attribute login_sessions.
-
#registry ⇒ Object
readonly
Returns the value of attribute registry.
-
#services ⇒ Object
readonly
Returns the value of attribute services.
-
#sessions ⇒ Object
readonly
Returns the value of attribute sessions.
Instance Method Summary collapse
-
#initialize(client) ⇒ GateResource
constructor
A new instance of GateResource.
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_tokens ⇒ Object (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_sessions ⇒ Object (readonly)
Returns the value of attribute login_sessions.
292 293 294 |
# File 'lib/tripwire/server/client.rb', line 292 def login_sessions @login_sessions end |
#registry ⇒ Object (readonly)
Returns the value of attribute registry.
292 293 294 |
# File 'lib/tripwire/server/client.rb', line 292 def registry @registry end |
#services ⇒ Object (readonly)
Returns the value of attribute services.
292 293 294 |
# File 'lib/tripwire/server/client.rb', line 292 def services @services end |
#sessions ⇒ Object (readonly)
Returns the value of attribute sessions.
292 293 294 |
# File 'lib/tripwire/server/client.rb', line 292 def sessions @sessions end |