Class: FulfillmentHistory
- Inherits:
-
Object
- Object
- FulfillmentHistory
- Includes:
- Mongoid::Attributes::Dynamic, Mongoid::Document
- Defined in:
- lib/health-data-standards/models/fulfillment_history.rb
Instance Method Summary collapse
Instance Method Details
#shift_dates(date_diff) ⇒ Object
13 14 15 |
# File 'lib/health-data-standards/models/fulfillment_history.rb', line 13 def shift_dates(date_diff) self.dispenseDate = (self.dispenseDate.nil?) ? nil : self.dispenseDate + date_diff end |