Class: ExamAuthorizationRequest
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- ExamAuthorizationRequest
- Includes:
- TerminalNavigation
- Defined in:
- app/models/exam_authorization_request.rb
Instance Method Summary collapse
Methods included from TerminalNavigation
#friendly, #navigable_name, #navigation_end?, #siblings, #structural_parent
Methods inherited from ApplicationRecord
aggregate_of, all_except, defaults, #delete, #destroy!, enum_prefixed_translations_for, 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
#name ⇒ Object
17 18 19 |
# File 'app/models/exam_authorization_request.rb', line 17 def name exam_registration.description end |
#try_authorize! ⇒ Object
13 14 15 |
# File 'app/models/exam_authorization_request.rb', line 13 def exam. user if approved? end |