Class: Thrift::JsonProtocolFactory
- Inherits:
-
BaseProtocolFactory
- Object
- BaseProtocolFactory
- Thrift::JsonProtocolFactory
- Defined in:
- lib/thrift/protocol/json_protocol.rb
Instance Method Summary collapse
Instance Method Details
#get_protocol(trans) ⇒ Object
778 779 780 |
# File 'lib/thrift/protocol/json_protocol.rb', line 778 def get_protocol(trans) return Thrift::JsonProtocol.new(trans) end |
#to_s ⇒ Object
782 783 784 |
# File 'lib/thrift/protocol/json_protocol.rb', line 782 def to_s "json" end |