Class: Stepped::Arguments
- Inherits:
-
Object
- Object
- Stepped::Arguments
- Defined in:
- app/models/stepped/arguments.rb
Class Method Summary collapse
Class Method Details
.dump(arguments) ⇒ Object
11 12 13 |
# File 'app/models/stepped/arguments.rb', line 11 def dump(arguments) ActiveJob::Arguments.serialize arguments end |
.load(serialized_arguments) ⇒ Object
5 6 7 8 9 |
# File 'app/models/stepped/arguments.rb', line 5 def load(serialized_arguments) return if serialized_arguments.nil? ActiveJob::Arguments.deserialize serialized_arguments end |