Class: NATS::Msg

Inherits:
Struct
  • Object
show all
Defined in:
lib/nats/io/client.rb

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



1089
1090
1091
# File 'lib/nats/io/client.rb', line 1089

def data
  @data
end

#replyObject

Returns the value of attribute reply

Returns:

  • (Object)

    the current value of reply



1089
1090
1091
# File 'lib/nats/io/client.rb', line 1089

def reply
  @reply
end

#subjectObject

Returns the value of attribute subject

Returns:

  • (Object)

    the current value of subject



1089
1090
1091
# File 'lib/nats/io/client.rb', line 1089

def subject
  @subject
end