Class: Preneeds::DateRange
- Defined in:
- app/models/preneeds/date_range.rb
Overview
Models a date range from a BurialForm form
Instance Attribute Summary collapse
-
#from ⇒ String
‘from’ date.
-
#to ⇒ String
‘to’ date.
Class Method Summary collapse
-
.permitted_params ⇒ Array
List of permitted params for use with Strong Parameters.
Methods inherited from Base
Methods included from Vets::Model
#attributes, #initialize, #nested_attributes
Methods included from Vets::Attributes
Instance Attribute Details
Class Method Details
.permitted_params ⇒ Array
List of permitted params for use with Strong Parameters
17 18 19 |
# File 'app/models/preneeds/date_range.rb', line 17 def self.permitted_params %i[from to] end |