1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2025-12-01 05:43:04 +00:00
الملفات
postal/api/structures/delivery_api_structure.rb
2017-04-19 13:07:25 +01:00

11 أسطر
307 B
Ruby

structure :delivery do
basic :id
basic :status
basic :details
basic :output, :value => proc { o.output&.strip }
basic :sent_with_ssl, :value => proc { o.sent_with_ssl == 1 }
basic :log_id
basic :time, :value => proc { o.time&.to_f }
basic :timestamp, :value => proc { o.timestamp.to_f }
end