Class: Thrift::SimpleJsonProtocolFactory

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

Instance Method Summary collapse

Instance Method Details

#get_protocol(trans) ⇒ Object



823
824
825
# File 'lib/thrift/protocol/json_protocol.rb', line 823

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