Class: Jp::ThriftProducer
- Inherits:
-
AbstractProducer
- Object
- AbstractClient
- AbstractProducer
- Jp::ThriftProducer
- Defined in:
- lib/rb/jp/producer.rb
Instance Method Summary collapse
-
#initialize(queue, options = {}) ⇒ ThriftProducer
constructor
A new instance of ThriftProducer.
Methods inherited from AbstractProducer
Constructor Details
#initialize(queue, options = {}) ⇒ ThriftProducer
Returns a new instance of ThriftProducer.
36 37 38 39 |
# File 'lib/rb/jp/producer.rb', line 36 def initialize queue, = {} super queue, @serializer = Thrift::Serializer.new end |