class ActiveModelSerializers::Model
def updated_at
-
(String, Numeric, Time)
-
Other tags:
- Note: - Though +updated_at+ and +updated_at=+ are defined, it will only show up
def updated_at attributes.fetch(:updated_at) do defined?(@updated_at) ? @updated_at : File.mtime(__FILE__) end end