Class: Wakame::Event::ServiceBoundAgent
- Defined in:
- lib/wakame/event.rb
Instance Attribute Summary collapse
-
#agent ⇒ Object
readonly
Returns the value of attribute agent.
-
#service ⇒ Object
readonly
Returns the value of attribute service.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(service, agent) ⇒ ServiceBoundAgent
constructor
A new instance of ServiceBoundAgent.
Methods inherited from Base
Constructor Details
#initialize(service, agent) ⇒ ServiceBoundAgent
Returns a new instance of ServiceBoundAgent.
157 158 159 160 161 |
# File 'lib/wakame/event.rb', line 157 def initialize(service, agent) super() @service = service @agent = agent end |
Instance Attribute Details
#agent ⇒ Object (readonly)
Returns the value of attribute agent.
156 157 158 |
# File 'lib/wakame/event.rb', line 156 def agent @agent end |
#service ⇒ Object (readonly)
Returns the value of attribute service.
156 157 158 |
# File 'lib/wakame/event.rb', line 156 def service @service end |