lib/protobuf/nats.rb in protobuf-nats-0.5.0 vs lib/protobuf/nats.rb in protobuf-nats-0.5.1
- old
+ new
@@ -17,10 +17,11 @@
class << self
attr_accessor :client_nats_connection
end
module Messages
- ACK = "\1".freeze
+ ACK = "\1".freeze
+ NACK = "\2".freeze
end
NatsClient = if defined? JRUBY_VERSION
require "protobuf/nats/jnats"
::Protobuf::Nats::JNats