Class: Synapse::Serialization::RevisionResolver Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/synapse/serialization/revision_resolver.rb

Overview

This class is abstract.

Represents a mechanism for determining the revision of a payload being serialized

Direct Known Subclasses

FixedRevisionResolver

Instance Method Summary collapse

Instance Method Details

#revision_of(payload_type) ⇒ String

This method is abstract.

Determines the revision of the given payload type

Parameters:

  • payload_type (Class)

Returns:

  • (String)

    The revision of the given payload type



11
# File 'lib/synapse/serialization/revision_resolver.rb', line 11

def revision_of(payload_type); end