Class: Thrift::Union
- Inherits:
-
Object
- Object
- Thrift::Union
- Extended by:
- Base64Extension::FromBase64
- Defined in:
- lib/thrift/base64.rb
Instance Method Summary collapse
Methods included from Base64Extension::FromBase64
from_base64, from_compact_base64
Instance Method Details
#to_base64(protocol = BinaryProtocolFactory.new) ⇒ Object
56 57 58 |
# File 'lib/thrift/base64.rb', line 56 def to_base64(protocol = BinaryProtocolFactory.new) Base64Serializer.new(protocol).serialize self end |
#to_compact_base64 ⇒ Object
60 61 62 |
# File 'lib/thrift/base64.rb', line 60 def to_compact_base64 to_base64 CompactProtocolFactory.new end |