Method: Wgit::Model.common_insert_data
- Defined in:
- lib/wgit/database/model.rb
.common_insert_data ⇒ Hash
Common fields when inserting a record into the DB.
36 37 38 39 40 41 |
# File 'lib/wgit/database/model.rb', line 36 def self.common_insert_data { date_added: Wgit::Utils.time_stamp, date_modified: Wgit::Utils.time_stamp } end |