Class: Dorsale::CustomerVault::Event

Inherits:
ApplicationRecord show all
Defined in:
app/models/dorsale/customer_vault/event.rb

Constant Summary collapse

ACTIONS =
%w(create update comment)

Instance Method Summary collapse

Methods inherited from ApplicationRecord

last_created

Instance Method Details

#dateObject



20
21
22
# File 'app/models/dorsale/customer_vault/event.rb', line 20

def date
  created_at.try(:to_date)
end