Class: ScoutApm::Serializers::DirectiveSerializer

Inherits:
Object
  • Object
show all
Defined in:
lib/scout_apm/serializers/directive_serializer.rb

Class Method Summary collapse

Class Method Details

.deserialize(data) ⇒ Object



10
11
12
# File 'lib/scout_apm/serializers/directive_serializer.rb', line 10

def self.deserialize(data)
  Marshal.load(data)
end

.serialize(data) ⇒ Object



6
7
8
# File 'lib/scout_apm/serializers/directive_serializer.rb', line 6

def self.serialize(data)
  Marshal.dump(data)
end