module WarpEngine::Admin::Timestamps
Adds the createdAt and updatedAt fields to the Admin API serializer that includes it.
Public Class Methods
Source
# File app/serializers/warp_engine/admin/timestamps.rb, line 10 def self.included(base) base.field :created_at, name: :createdAt base.field :updated_at, name: :updatedAt end
Declares the createdAt and updatedAt fields on the including serializer class base.