diff --git a/lib/zimbra/appointment.rb b/lib/zimbra/appointment.rb index ee8dcd6..2fd1935 100644 --- a/lib/zimbra/appointment.rb +++ b/lib/zimbra/appointment.rb @@ -261,6 +261,13 @@ def cancel(appointment, invite_id) xml = invoke("n2:CancelAppointmentRequest") do |message| Builder.cancel(message, appointment.id, invite_id) end + + xml = invoke("n2:ItemActionRequest") do |message| + message.add "action" do |action| + action.set_attr 'id', appointment.id + action.set_attr 'op', 'delete' + end + end end class Builder diff --git a/lib/zimbra/version.rb b/lib/zimbra/version.rb index 572d272..53185a6 100644 --- a/lib/zimbra/version.rb +++ b/lib/zimbra/version.rb @@ -1,3 +1,3 @@ module Zimbra - VERSION = "0.0.10" + VERSION = "0.0.11" end