Class: Infrawrench::AgentNamespace
- Inherits:
-
Object
- Object
- Infrawrench::AgentNamespace
- Defined in:
- lib/infrawrench/client.rb,
sig/infrawrench/sdk.rbs
Overview
client.agent
Instance Attribute Summary collapse
-
#claim ⇒ AgentClaimNamespace
readonly
client.agent.claim. -
#identity ⇒ AgentIdentityNamespace
readonly
client.agent.identity.
Instance Method Summary collapse
-
#initialize(transport) ⇒ AgentNamespace
constructor
private
A new instance of AgentNamespace.
Constructor Details
#initialize(transport) ⇒ AgentNamespace
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of AgentNamespace.
1018 1019 1020 1021 1022 |
# File 'lib/infrawrench/client.rb', line 1018 def initialize(transport) @transport = transport @claim = AgentClaimNamespace.new(@transport) @identity = AgentIdentityNamespace.new(@transport) end |
Instance Attribute Details
#claim ⇒ AgentClaimNamespace (readonly)
Returns client.agent.claim.
1012 1013 1014 |
# File 'lib/infrawrench/client.rb', line 1012 def claim @claim end |
#identity ⇒ AgentIdentityNamespace (readonly)
Returns client.agent.identity.
1014 1015 1016 |
# File 'lib/infrawrench/client.rb', line 1014 def identity @identity end |