Class: GoodJob::BatchRecord::PropertySerializer
- Inherits:
-
Object
- Object
- GoodJob::BatchRecord::PropertySerializer
- Defined in:
- app/models/good_job/batch_record.rb
Class Method Summary collapse
Class Method Details
.dump(value) ⇒ Object
86 87 88 |
# File 'app/models/good_job/batch_record.rb', line 86 def self.dump(value) ActiveJob::Arguments.serialize([value]).first end |
.load(value) ⇒ Object
90 91 92 |
# File 'app/models/good_job/batch_record.rb', line 90 def self.load(value) ActiveJob::Arguments.deserialize([value]).first end |