lib/hushed/message.rb in hushed-0.0.8 vs lib/hushed/message.rb in hushed-0.0.9
- old
+ new
@@ -40,10 +40,10 @@
raise(MissingClientError.new("client cannot be missing")) unless @client
raise(MissingDocumentError.new("document cannot be missing")) unless @document
{
ClientId: @client.client_id, BusinessUnit: @client.business_unit,
DocumentName: @document.filename, DocumentType: @document.type,
- Warehouse: @document.warehouse, MessageDate: @document.date.utc,
+ Warehouse: @document.warehouse, MessageDate: @document.date.utc.iso8601,
MessageId: @document.message_id, xmlns: NAMESPACE
}
end
end
end
\ No newline at end of file