Class: SnapshotRecord::CreateSnapshotRecord

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

Overview

Snapshot Created Record class

Instance Method Summary collapse

Methods inherited from SnapshotRecord

#sortable, #values

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

#sorterObject 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