Class: ElasticAPM::Transport::Serializers::Serializer Private
- Inherits:
-
Object
- Object
- ElasticAPM::Transport::Serializers::Serializer
- Defined in:
- lib/elastic_apm/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, MetadataSerializer, MetricsetSerializer, SpanSerializer, ElasticAPM::Transport::Serializers::SpanSerializer::ContextSerializer, TransactionSerializer
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/elastic_apm/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/elastic_apm/transport/serializers.rb', line 33 def config @config end |