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
85 86 87 |
# File 'app/models/good_job/batch_record.rb', line 85 def self.dump(value) ActiveJob::Arguments.serialize([value]).first end |
.load(value) ⇒ Object
89 90 91 |
# File 'app/models/good_job/batch_record.rb', line 89 def self.load(value) ActiveJob::Arguments.deserialize([value]).first end |