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

Inherits:
Struct show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/nats-pure-2.2.1/lib/nats/io/jetstream/msg/ack.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Struct

#as_json

Instance Attribute Details

#consumerObject

Returns the value of attribute consumer

Returns:

  • (Object)

    the current value of consumer



52
53
54
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/nats-pure-2.2.1/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/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/nats-pure-2.2.1/lib/nats/io/jetstream/msg/ack.rb', line 52

def stream
  @stream
end