Class: EvilEvents::Core::Events::Serializers::Base::AbstractEngine Private
- Inherits:
-
Object
- Object
- EvilEvents::Core::Events::Serializers::Base::AbstractEngine
- Defined in:
- lib/evil_events/core/events/serializers/base/abstract_engine.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Direct Known Subclasses
Hash::Engines::Native, JSON::Engines::Native, JSON::Engines::Oj, MessagePack::Engines::Mpacker, XML::Engines::Ox
Instance Method Summary collapse
- #dump(serialization_state) ⇒ Object private
-
#initialize(config) ⇒ AbstractEngine
constructor
private
A new instance of AbstractEngine.
- #load(data) ⇒ EventSerializationState private
- #restore_serialization_state(id:, type:, payload:, metadata:) ⇒ EventSerializationState private private
Constructor Details
#initialize(config) ⇒ AbstractEngine
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of AbstractEngine.
11 |
# File 'lib/evil_events/core/events/serializers/base/abstract_engine.rb', line 11 def initialize(config); end |
Instance Method Details
#dump(serialization_state) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
18 |
# File 'lib/evil_events/core/events/serializers/base/abstract_engine.rb', line 18 def dump(serialization_state); end |
#load(data) ⇒ EventSerializationState
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
25 |
# File 'lib/evil_events/core/events/serializers/base/abstract_engine.rb', line 25 def load(data); end |
#restore_serialization_state(id:, type:, payload:, metadata:) ⇒ EventSerializationState (private)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
38 39 40 41 42 43 44 45 |
# File 'lib/evil_events/core/events/serializers/base/abstract_engine.rb', line 38 def restore_serialization_state(id:, type:, payload:, metadata:) EventSerializationState.( id: id, type: type, payload: payload, metadata: ) end |