Class: EducationStemAutomatedDecision
Constant Summary
collapse
- INIT =
'init'
- PROCESSED =
'processed'
- DENIED =
'denied'
- DECISION_STATES =
[INIT, PROCESSED, DENIED].freeze
Class Method Summary
collapse
Instance Method Summary
collapse
descendants_using_encryption, lockbox_options, #timestamp_attributes_for_update_in_model, #valid?
Class Method Details
.denied ⇒ Object
26
27
28
|
# File 'app/models/education_stem_automated_decision.rb', line 26
def self.denied
where(automated_decision_state: DENIED)
end
|
.init ⇒ Object
18
19
20
|
# File 'app/models/education_stem_automated_decision.rb', line 18
def self.init
where(automated_decision_state: INIT)
end
|
.processed ⇒ Object
22
23
24
|
# File 'app/models/education_stem_automated_decision.rb', line 22
def self.processed
where(automated_decision_state: PROCESSED)
end
|
Instance Method Details
Returns parsed auth headers.
32
33
34
35
36
|
# File 'app/models/education_stem_automated_decision.rb', line 32
def
return nil if .nil?
@auth_headers_hash ||= JSON.parse()
end
|