Class: SnapshotRecord::DeleteSnapshotRecord

Inherits:
SnapshotRecord show all
Defined in:
service/records/records.rb

Overview

Snapshot Deleted Record class

Instance Method Summary collapse

Methods inherited from SnapshotRecord

#sortable, #values

Instance Method Details

#mod(st) ⇒ Object

Decrements :snaps



69
70
71
# File 'service/records/records.rb', line 69

def mod st
  st[:snaps] -= 1
end

#sorterObject Also known as: ts

Since this is Delete record sorter is 'delete time'



63
64
65
# File 'service/records/records.rb', line 63

def sorter
  del
end