Method: EventQ::SerializationProviders::OjSerializationProvider#initialize

Defined in:
lib/eventq_base/serialization_providers/oj_serialization_provider.rb

#initializeOjSerializationProvider

Returns a new instance of OjSerializationProvider.



5
6
7
8
# File 'lib/eventq_base/serialization_providers/oj_serialization_provider.rb', line 5

def initialize
  require 'oj'
  @json_serializer = EventQ::SerializationProviders::JsonSerializationProvider.new
end