Method: Noticed::Coder.load
- Defined in:
- lib/noticed/coder.rb
.load(data) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/noticed/coder.rb', line 3 def self.load(data) return if data.nil? ActiveJob::Arguments.send(:deserialize_argument, data) rescue ActiveRecord::RecordNotFound => error {noticed_error: error., original_params: data} end |