Class: Renalware::HD::PreferenceSet
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Renalware::HD::PreferenceSet
- Includes:
- Accountable, PatientScope
- Defined in:
- app/models/renalware/hd/preference_set.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Accountable
#first_or_create_by!, #save_by, #save_by!, #update_by
Class Method Details
.policy_class ⇒ Object
29 30 31 |
# File 'app/models/renalware/hd/preference_set.rb', line 29 def self.policy_class BasePolicy end |
Instance Method Details
#preferred_schedule ⇒ Object
25 26 27 |
# File 'app/models/renalware/hd/preference_set.rb', line 25 def preferred_schedule other_schedule || schedule_definition&.to_s end |