Class: Trip

Inherits:
Object show all
Defined in:
lib/models/trip.rb,
lib/dbr_models/trip.rb

Instance Method Summary collapse

Instance Method Details

#_add_attachment(attachment) ⇒ Object



30
31
32
33
34
35
36
37
# File 'lib/models/trip.rb', line 30

def _add_attachment(attachment)
  attachment.vendor_kid_date = self.kid_date
  attachment.vendor_kid_time = self.kid_time
  attachment.vendor_kid_user = self.kid_user
  attachment.vendor_kid_comm = self.kid_comm
  attachment.vendor_kid_mult = self.kid_mult
  attachment.save
end