Class: Wakame::Event::ActorProgress

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(agent_id, token, progress) ⇒ ActorProgress

Returns a new instance of ActorProgress.



284
285
286
287
288
# File 'lib/wakame/event.rb', line 284

def initialize(agent_id, token, progress)
  @agent_id = agent_id
  @token = token
  @progress  = progress
end

Instance Attribute Details

#agent_idObject (readonly)

Returns the value of attribute agent_id.



283
284
285
# File 'lib/wakame/event.rb', line 283

def agent_id
  @agent_id
end

#progressObject (readonly)

Returns the value of attribute progress.



283
284
285
# File 'lib/wakame/event.rb', line 283

def progress
  @progress
end

#tokenObject (readonly)

Returns the value of attribute token.



283
284
285
# File 'lib/wakame/event.rb', line 283

def token
  @token
end