Module: Hanami::Model::Plugins::Timestamps Private
- Defined in:
- lib/hanami/model/plugins/timestamps.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Automatically set/update timestamp columns for create/update commands
Defined Under Namespace
Modules: ClassMethods Classes: InputWithCreateTimestamp, InputWithTimestamp, InputWithUpdateTimestamp
Class Method Summary collapse
- .included(klass) ⇒ Object private
Class Method Details
.included(klass) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
112 113 114 115 116 |
# File 'lib/hanami/model/plugins/timestamps.rb', line 112 def self.included(klass) super klass.extend ClassMethods end |