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.
96 97 98 99 100 |
# File 'lib/wakame/event.rb', line 96 def initialize(service, agent) super() @service = service @agent = agent end |
Instance Attribute Details
#agent ⇒ Object (readonly)
Returns the value of attribute agent.
95 96 97 |
# File 'lib/wakame/event.rb', line 95 def agent @agent end |
#service ⇒ Object (readonly)
Returns the value of attribute service.
95 96 97 |
# File 'lib/wakame/event.rb', line 95 def service @service end |