Sha256: fe4c24fffddbcc424180555253ea08721066f87bce331c8f7f5d246e4432f1b7
Contents?: true
Size: 398 Bytes
Versions: 10
Compression:
Stored size: 398 Bytes
Contents
class MedicalEquipment < Entry field :manufacturer, type: String field :anatomicalStructure, as: :anatomical_structure, type: Hash field :removalTime, as: :removal_time, type: Integer field :anatomical_approach , type: Hash field :reaction, type: Hash def shift_dates(date_diff) super self.removalTime = self.removalTime.nil? ? nil : self.removalTime + date_diff end end
Version data entries
10 entries across 10 versions & 1 rubygems