Class: Renalware::Clinical::DryWeight

Inherits:
ApplicationRecord show all
Includes:
Accountable, PatientScope
Defined in:
app/models/renalware/clinical/dry_weight.rb

Class Method Summary collapse

Methods included from Accountable

#first_or_create_by!, #save_by, #save_by!, #update_by

Class Method Details

.latestObject



29
30
31
# File 'app/models/renalware/clinical/dry_weight.rb', line 29

def self.latest
  ordered.first
end

.policy_classObject



25
26
27
# File 'app/models/renalware/clinical/dry_weight.rb', line 25

def self.policy_class
  BasePolicy
end