instance method
deserialize_attribute_values
Ruby on Rails edge
Since edge Private — implementation detail, not part of the public APISignature
deserialize_attribute_values(serialized)
No documentation comment.
Parameters
-
serializedreq
Source
# File activejob/lib/active_job/attributes.rb, line 67
def deserialize_attribute_values(serialized)
values = Arguments.deserialize([serialized]).first
values.each do |name, value|
name = name.to_s
@attributes.write_cast_value(name, value) if self.class.attribute_types.key?(name)
end
end
Defined in activejob/lib/active_job/attributes.rb line 67
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveJob::Attributes