Class: Hoss::Transport::Serializers::Serializer Private
- Inherits:
-
Object
- Object
- Hoss::Transport::Serializers::Serializer
- Defined in:
- lib/hoss/transport/serializers.rb
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
ContextSerializer, ErrorSerializer, EventSerializer, MetadataSerializer, ReportSerializer
Instance Attribute Summary collapse
- #config ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(config) ⇒ Serializer
constructor
private
A new instance of Serializer.
Constructor Details
#initialize(config) ⇒ Serializer
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 Serializer.
29 30 31 |
# File 'lib/hoss/transport/serializers.rb', line 29 def initialize(config) @config = config end |
Instance Attribute Details
#config ⇒ Object (readonly)
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.
33 34 35 |
# File 'lib/hoss/transport/serializers.rb', line 33 def config @config end |