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


11
12
13
# File 'lib/elasticsearch/transport/transport/serializer/multi_json.rb', line 11

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