Class: Integer
- Inherits:
-
Object
- Object
- Integer
- Defined in:
- lib/sequent/core/helpers/attribute_support.rb
Class Method Summary collapse
Class Method Details
.deserialize_from_json(value) ⇒ Object
17 18 19 |
# File 'lib/sequent/core/helpers/attribute_support.rb', line 17 def self.deserialize_from_json(value) value.blank? ? nil : value.to_i end |