File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 1- 0.6.0
1+ 0.6.1
Original file line number Diff line number Diff line change @@ -57,7 +57,19 @@ def query_events(uid=nil, opts = {})
5757 events
5858 end
5959
60+ # @param [Hash] data evids that should be closed
61+ # @option data [Array] :evids Array of evids that is closed
62+ def close_events ( data = { } )
63+ json_request ( 'EventsRouter' , 'close' , [ data ] )
64+ end
6065
66+ # @param [Hash] data data specifying event that should have a logmessage appended
67+ # @option data [String] :evid evid that message should be appended to
68+ # @option data [String] :message text that should be appended to the event log
69+ def write_log ( data = { } )
70+ json_request ( 'EventsRouter' , 'write_log' , [ data ] )
71+ end
72+
6173 # @param [String] uid the uid to query events for. If this isn't specified
6274 # the query may take a very long time
6375 # @param [Hash] opts misc options to limit/filter events
You can’t perform that action at this time.
0 commit comments