Module: Hcp::Timestamped
- Included in:
- Customer, Employee, Estimate, Estimate::Option, Job
- Defined in:
- lib/hcp/concerns/timestamped.rb
Overview
Extends a record Housecall Pro stamps with when it was opened and last changed.
Instance Method Summary collapse
-
#created_at ⇒ Time?
When the record was opened.
-
#updated_at ⇒ Time?
When the record last changed.
Instance Method Details
#created_at ⇒ Time?
Returns when the record was opened.
5 |
# File 'lib/hcp/concerns/timestamped.rb', line 5 def created_at = time 'created_at' |
#updated_at ⇒ Time?
Returns when the record last changed.
8 |
# File 'lib/hcp/concerns/timestamped.rb', line 8 def updated_at = time 'updated_at' |