class Lignite::DirectReply

A reply to a DirectCommand

Attributes

error[R]
globals[R]
msgid[R]

Public Class Methods

new(msgid:, error:, body:) click to toggle source
# File lib/lignite/message.rb, line 93
def initialize(msgid:, error:, body:)
  @msgid = msgid
  @error = error
  @globals = body
end

Public Instance Methods

error?() click to toggle source
# File lib/lignite/message.rb, line 101
def error?
  @error
end