Class: Renalware::Hospitals::Unit
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Renalware::Hospitals::Unit
- Extended by:
- Enumerize
- Defined in:
- app/models/renalware/hospitals/unit.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.policy_class ⇒ Object
28 29 30 |
# File 'app/models/renalware/hospitals/unit.rb', line 28 def self.policy_class BasePolicy end |
Instance Method Details
#to_s ⇒ Object
32 33 34 |
# File 'app/models/renalware/hospitals/unit.rb', line 32 def to_s "#{name} (#{unit_code})" end |