Skip to content

Commit

Permalink
Add possibility to create events with categories. (#223)
Browse files Browse the repository at this point in the history
Co-authored-by: Yegor Babosiuk <[email protected]>
  • Loading branch information
ybabosiuk and Yegor Babosiuk authored Jul 8, 2024
1 parent 6833cc6 commit 6d090a1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/ews/soap/builders/ews_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,13 @@ def contacts_view!(con_view)
@nbuild[NS_EWS_MESSAGES].ContactsView(attribs)
end

# @see https://msdn.microsoft.com/en-us/library/aa565683(v=exchg.140).aspx
def categories!(fa)
@nbuild[NS_EWS_TYPES].Categories {
@nbuild[NS_EWS_TYPES].String(fa)
}
end

# @see http://msdn.microsoft.com/en-us/library/aa579678(v=EXCHG.140).aspx
def event_types!(evtypes)
@nbuild[NS_EWS_TYPES].EventTypes {
Expand Down

0 comments on commit 6d090a1

Please sign in to comment.