Class: Wakame::Event::ServiceUnboundHost

Inherits:
Base
  • Object
show all
Defined in:
lib/wakame/event.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#time

Instance Method Summary collapse

Methods inherited from Base

#log_message

Constructor Details

#initialize(service, host) ⇒ ServiceUnboundHost

Returns a new instance of ServiceUnboundHost.



105
106
107
108
109
# File 'lib/wakame/event.rb', line 105

def initialize(service, host)
  super()
  @service = service
  @host = host
end

Instance Attribute Details

#hostObject (readonly)

Returns the value of attribute host.



104
105
106
# File 'lib/wakame/event.rb', line 104

def host
  @host
end

#serviceObject (readonly)

Returns the value of attribute service.



104
105
106
# File 'lib/wakame/event.rb', line 104

def service
  @service
end