Class: Noticed::Coder
- Inherits:
-
Object
- Object
- Noticed::Coder
- Defined in:
- lib/noticed/coder.rb
Class Method Summary collapse
Class Method Details
.dump(data) ⇒ Object
7 8 9 |
# File 'lib/noticed/coder.rb', line 7 def self.dump(data) ActiveJob::Arguments.send(:serialize_argument, data) end |
.load(data) ⇒ Object
3 4 5 |
# File 'lib/noticed/coder.rb', line 3 def self.load(data) ActiveJob::Arguments.send(:deserialize_argument, data) end |