Class: ExamAuthorization
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- ExamAuthorization
- Defined in:
- app/models/exam_authorization.rb
Instance Method Summary collapse
Methods inherited from ApplicationRecord
aggregate_of, all_except, defaults, name_model_as, numbered, #save, #save_and_notify!, #save_and_notify_changes!, #update_and_notify!, update_or_create!
Instance Method Details
#start! ⇒ Object
6 7 8 |
# File 'app/models/exam_authorization.rb', line 6 def start! update!(started: true, started_at: Time.now) unless started? end |