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.



215
216
217
218
219
# File 'lib/wakame/event.rb', line 215

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.



214
215
216
# File 'lib/wakame/event.rb', line 214

def agent_id
  @agent_id
end

#progressObject (readonly)

Returns the value of attribute progress.



214
215
216
# File 'lib/wakame/event.rb', line 214

def progress
  @progress
end

#tokenObject (readonly)

Returns the value of attribute token.



214
215
216
# File 'lib/wakame/event.rb', line 214

def token
  @token
end