From be23b4f58f8037c0cac4c04d4c40e142d061e926 Mon Sep 17 00:00:00 2001 From: Matt Whitslar Date: Thu, 15 Jun 2017 16:34:17 -0400 Subject: [PATCH] Update appointment invites to be able to set a custom uid --- lib/zimbra/appointment/invite.rb | 3 ++- lib/zimbra/version.rb | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/zimbra/appointment/invite.rb b/lib/zimbra/appointment/invite.rb index e2654ff..edcab6d 100644 --- a/lib/zimbra/appointment/invite.rb +++ b/lib/zimbra/appointment/invite.rb @@ -3,7 +3,7 @@ class Appointment class Invite ATTRS = [ :appointment, - :id, :recurrence_id, :sequence_number, + :id, :recurrence_id, :sequence_number, :uid, :start_date_time, :end_date_time, :date, :name, :fragment, :description, :alarm, :alarm_zimbra_attributes, :alarm_attributes, :recurrence_rule, :recurrence_rule_zimbra_attributes, :recurrence_rule_attributes, @@ -222,6 +222,7 @@ def create_xml(document) comp.set_attr "name", name comp.set_attr "transp", transparency_to_zimbra if transparency comp.set_attr "d", date.to_i * 1000 if date + comp.set_attr "uid", uid if uid if is_organizer comp.set_attr "neverSent", never_sent ? 1 : 0 diff --git a/lib/zimbra/version.rb b/lib/zimbra/version.rb index 7cca7fa..572d272 100644 --- a/lib/zimbra/version.rb +++ b/lib/zimbra/version.rb @@ -1,3 +1,3 @@ module Zimbra - VERSION = "0.0.9" + VERSION = "0.0.10" end