Class: BoomNats::Topic
- Inherits:
-
Object
- Object
- BoomNats::Topic
- Defined in:
- lib/boom_nats/topic.rb
Instance Method Summary collapse
- #consume ⇒ Object
-
#initialize(message, reply_to, nats, serializer, parser) ⇒ Topic
constructor
A new instance of Topic.
Constructor Details
#initialize(message, reply_to, nats, serializer, parser) ⇒ Topic
Returns a new instance of Topic.
3 4 5 6 7 8 9 10 11 |
# File 'lib/boom_nats/topic.rb', line 3 def initialize(, reply_to, nats, serializer, parser) @message = @reply_to = reply_to @nats = nats @serializer = serializer @parser = parser start end |
Instance Method Details
#consume ⇒ Object
13 14 15 |
# File 'lib/boom_nats/topic.rb', line 13 def consume raise Error, "consume method do not implement yet" end |