Sha256: 4fa0222f030cd2785e7349c4ed484455bc7fd8f1b886c0667ec0196ad69f841b
Contents?: true
Size: 464 Bytes
Versions: 6
Compression:
Stored size: 464 Bytes
Contents
module {{namespace_module}} module {{resource_module}} class Presenter include Shogun::Presenter include {{resource_module}} def id source.id end def created_at source.created_at.to_datetime.rfc3339 end def updated_at source.updated_at.to_datetime.rfc3339 end def destroyed_at source.destroyed_at.to_datetime.rfc3339 if source.destroyed_at end end end end
Version data entries
6 entries across 6 versions & 1 rubygems