Class: Thrift::JsonProtocolFactory

Inherits:
BaseProtocolFactory show all
Defined in:
lib/thrift/protocol/json_protocol.rb

Instance Method Summary collapse

Instance Method Details

#get_protocol(trans) ⇒ Object



829
830
831
# File 'lib/thrift/protocol/json_protocol.rb', line 829

def get_protocol(trans)
  Thrift::JsonProtocol.new(trans)
end