Module: Epiphy::Entity::Timestamp
- Defined in:
- lib/epiphy/entity/timestamp.rb
Overview
Add created_at and updated_at field to an entity.
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
8 9 10 |
# File 'lib/epiphy/entity/timestamp.rb', line 8 def self.included(base) base.send :attr_accessor, :created_at end |