Class: Renalware::Virology::Vaccination
- Inherits:
-
Events::Event
- Object
- ActiveRecord::Base
- ApplicationRecord
- Events::Event
- Renalware::Virology::Vaccination
- Includes:
- Document::Base
- Defined in:
- app/models/renalware/virology/vaccination.rb
Defined Under Namespace
Classes: Document
Instance Attribute Summary
Attributes inherited from Events::Event
#disable_selection_of_event_type
Instance Method Summary collapse
-
#partial_for(partial_type) ⇒ Object
Return e.g.
Methods inherited from Events::Event
#document, #to_cell_partial_path, #to_partial_path, #to_s, #to_toggled_cell_partial_path
Methods included from Accountable
#first_or_create_by!, #save_by, #save_by!, #update_by
Instance Method Details
#partial_for(partial_type) ⇒ Object
Return e.g. “renalware/virology/vaccinations/toggled_cell
15 16 17 |
# File 'app/models/renalware/virology/vaccination.rb', line 15 def partial_for(partial_type) File.join("renalware/virology/vaccinations", partial_type) end |