Module: OpenSearch::Transport::Transport::Serializer::Base

Included in:
MultiJson
Defined in:
lib/opensearch/transport/transport/serializer/multi_json.rb

Overview

An abstract class for implementing serializer implementations

Instance Method Summary collapse

Instance Method Details

#initialize(transport = nil) ⇒ Object

Parameters:

  • transport (Object) (defaults to: nil)

    The instance of transport which uses this serializer



36
37
38
# File 'lib/opensearch/transport/transport/serializer/multi_json.rb', line 36

def initialize(transport = nil)
  @transport = transport
end