Module: Elasticsearch::Transport::Transport::Serializer::Base

Included in:
MultiJson
Defined in:
lib/elasticsearch/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



28
29
30
# File 'lib/elasticsearch/transport/transport/serializer/multi_json.rb', line 28

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