Class: Remitmd::A2ATaskStatus

Inherits:
Object
  • Object
show all
Defined in:
lib/remitmd/a2a.rb

Overview

Status of an A2A task.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ A2ATaskStatus

Returns a new instance of A2ATaskStatus.



65
66
67
68
# File 'lib/remitmd/a2a.rb', line 65

def initialize(data)
  @state   = data["state"].to_s
  @message = data["message"]
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



63
64
65
# File 'lib/remitmd/a2a.rb', line 63

def message
  @message
end

#stateObject (readonly)

Returns the value of attribute state.



63
64
65
# File 'lib/remitmd/a2a.rb', line 63

def state
  @state
end