class Noticed::Coder

Public Class Methods

dump(data) click to toggle source
# File lib/noticed/coder.rb, line 8
def self.dump(data)
  return if data.nil?
  ActiveJob::Arguments.send(:serialize_argument, data)
end
load(data) click to toggle source
# File lib/noticed/coder.rb, line 3
def self.load(data)
  return if data.nil?
  ActiveJob::Arguments.send(:deserialize_argument, data)
end