Class: NATS::JetStream::Msg::Ack::SequencePair

Inherits:
Struct
  • Object
show all
Defined in:
lib/nats/io/jetstream/msg/ack.rb

Instance Attribute Summary collapse

Instance Attribute Details

#consumerObject

Returns the value of attribute consumer

Returns:

  • (Object)

    the current value of consumer



52
53
54
# File 'lib/nats/io/jetstream/msg/ack.rb', line 52

def consumer
  @consumer
end

#streamObject

Returns the value of attribute stream

Returns:

  • (Object)

    the current value of stream



52
53
54
# File 'lib/nats/io/jetstream/msg/ack.rb', line 52

def stream
  @stream
end