require "history_client"

module History
  class AddAudit < History::Base
    def self.add(audit)
      audit[:created_at] = Time.now.utc.round(3).iso8601(3)
      audit[:expiry] = 2.years

      self.client.add(audit)
    end
  end
end
