Class: Synapse::Serialization::SerializedMetadata
- Inherits:
-
SerializedObject
- Object
- SerializedObject
- Synapse::Serialization::SerializedMetadata
- Defined in:
- lib/synapse/serialization/message/metadata.rb
Overview
Convenience implementation of serialized object containing metadata
Instance Attribute Summary
Attributes inherited from SerializedObject
#content, #content_type, #type
Instance Method Summary collapse
- #initialize(content, content_type) ⇒ undefined constructor
Methods inherited from SerializedObject
Constructor Details
#initialize(content, content_type) ⇒ undefined
8 9 10 |
# File 'lib/synapse/serialization/message/metadata.rb', line 8 def initialize(content, content_type) super(content, content_type, SerializedType.new(Hash.to_s, nil)) end |