Class: EventRouter::Serializers::Base
- Inherits:
-
Object
- Object
- EventRouter::Serializers::Base
- Defined in:
- lib/event_router/serializers/base.rb
Class Method Summary collapse
Class Method Details
.deserialize(_string) ⇒ Object
11 12 13 |
# File 'lib/event_router/serializers/base.rb', line 11 def deserialize(_string) raise NotImplementedError, 'Sub-classes must implement serialize method.' end |
.serialize(_object) ⇒ Object
7 8 9 |
# File 'lib/event_router/serializers/base.rb', line 7 def serialize(_object) raise NotImplementedError, 'Sub-classes must implement serialize method.' end |