Class: Hoss::Transport::Serializers::Serializer Private

Inherits:
Object
  • Object
show all
Defined in:
lib/hoss/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.

Instance Attribute Summary collapse

Instance Method Summary collapse

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/hoss/transport/serializers.rb', line 29

def initialize(config)
  @config = config
end

Instance Attribute Details

#configObject (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/hoss/transport/serializers.rb', line 33

def config
  @config
end