Class: ScoutApm::Serializers::DeploySerializer
- Inherits:
-
Object
- Object
- ScoutApm::Serializers::DeploySerializer
- Defined in:
- lib/scout_apm/serializers/deploy_serializer.rb
Constant Summary collapse
- HTTP_HEADERS =
{'Content-Type' => 'application/x-www-form-urlencoded'}
Class Method Summary collapse
Class Method Details
.deserialize(data) ⇒ Object
11 12 13 |
# File 'lib/scout_apm/serializers/deploy_serializer.rb', line 11 def self.deserialize(data) Marshal.load(data) end |
.serialize(data) ⇒ Object
7 8 9 |
# File 'lib/scout_apm/serializers/deploy_serializer.rb', line 7 def self.serialize(data) URI.encode_www_form(data) end |