Class: ExamAuthorizationRequest
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- ExamAuthorizationRequest
- Defined in:
- app/models/exam_authorization_request.rb
Instance Method Summary collapse
Methods inherited from ApplicationRecord
aggregate_of, all_except, defaults, #delete, #destroy!, numbered, organic_on, resource_fields, #save, #save_and_notify!, #save_and_notify_changes!, serialize_symbolized_hash_array, teaser_on, #update_and_notify!, update_or_create!, whitelist_attributes
Instance Method Details
#try_authorize! ⇒ Object
10 11 12 |
# File 'app/models/exam_authorization_request.rb', line 10 def exam. user if approved? end |