Class: Burner::Library::Serialize::Json
- Inherits:
-
JobWithRegister
- Object
- Job
- JobWithRegister
- Burner::Library::Serialize::Json
- Defined in:
- lib/burner/library/serialize/json.rb
Overview
Constant Summary
Constants inherited from JobWithRegister
Instance Attribute Summary
Attributes inherited from JobWithRegister
Attributes inherited from Job
Instance Method Summary collapse
Methods inherited from JobWithRegister
Methods inherited from Job
Methods included from Util::Arrayable
Constructor Details
This class inherits a constructor from Burner::JobWithRegister
Instance Method Details
#perform(_output, payload) ⇒ Object
18 19 20 |
# File 'lib/burner/library/serialize/json.rb', line 18 def perform(_output, payload) payload[register] = payload[register].to_json end |