Class: Wakame::Event::AgentMappedCloudHost
- Defined in:
- lib/wakame/event.rb
Instance Attribute Summary collapse
-
#agent_id ⇒ Object
readonly
Returns the value of attribute agent_id.
-
#cloud_host_id ⇒ Object
readonly
Returns the value of attribute cloud_host_id.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(cloud_host_id, agent_id) ⇒ AgentMappedCloudHost
constructor
A new instance of AgentMappedCloudHost.
Methods inherited from Base
Constructor Details
#initialize(cloud_host_id, agent_id) ⇒ AgentMappedCloudHost
Returns a new instance of AgentMappedCloudHost.
111 112 113 114 115 |
# File 'lib/wakame/event.rb', line 111 def initialize(cloud_host_id, agent_id) super() @agent_id = agent_id @cloud_host_id = cloud_host_id end |
Instance Attribute Details
#agent_id ⇒ Object (readonly)
Returns the value of attribute agent_id.
110 111 112 |
# File 'lib/wakame/event.rb', line 110 def agent_id @agent_id end |
#cloud_host_id ⇒ Object (readonly)
Returns the value of attribute cloud_host_id.
110 111 112 |
# File 'lib/wakame/event.rb', line 110 def cloud_host_id @cloud_host_id end |