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