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.



232
233
234
235
236
# File 'lib/wakame/event.rb', line 232

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.



231
232
233
# File 'lib/wakame/event.rb', line 231

def agent_id
  @agent_id
end

#progressObject (readonly)

Returns the value of attribute progress.



231
232
233
# File 'lib/wakame/event.rb', line 231

def progress
  @progress
end

#tokenObject (readonly)

Returns the value of attribute token.



231
232
233
# File 'lib/wakame/event.rb', line 231

def token
  @token
end