Class: SnapshotRecord::CreateSnapshotRecord
- Inherits:
-
SnapshotRecord
- Object
- SnapshotRecord
- SnapshotRecord::CreateSnapshotRecord
- Defined in:
- service/records/records.rb
Overview
Snapshot Created Record class
Instance Method Summary collapse
-
#mod(st) ⇒ Object
Increments :snaps.
-
#sorter ⇒ Object
(also: #ts)
Since this is Create record sorter is 'create time'.
Methods inherited from SnapshotRecord
Instance Method Details
#mod(st) ⇒ Object
Increments :snaps
55 56 57 |
# File 'service/records/records.rb', line 55 def mod st st[:snaps] += 1 end |
#sorter ⇒ Object Also known as: ts
Since this is Create record sorter is 'create time'
49 50 51 |
# File 'service/records/records.rb', line 49 def sorter crt end |