Class: Wakame::Event::ServiceBoundHost

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) ⇒ 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

#hostObject (readonly)

Returns the value of attribute host.



112
113
114
# File 'lib/wakame/event.rb', line 112

def host
  @host
end

#serviceObject (readonly)

Returns the value of attribute service.



112
113
114
# File 'lib/wakame/event.rb', line 112

def service
  @service
end