Method: ActionSmser::DeliveryReport#status=

Defined in:
app/models/action_smser/delivery_report.rb

#status=(stat, skip_log = false) ⇒ Object



27
28
29
30
31
# File 'app/models/action_smser/delivery_report.rb', line 27

def status=(stat, skip_log = false)
  self[:status] = stat
  self.status_updated_at = Time.now
  add_log("#{Time.now.to_s(:db)}: #{stat}") unless skip_log
end