Module: Zoomus::Actions::Meeting

Included in:
Client
Defined in:
lib/zoomus/actions/meeting.rb

Instance Method Summary collapse

Instance Method Details

#meeting_create(*args) ⇒ Object



12
13
14
15
16
17
# File 'lib/zoomus/actions/meeting.rb', line 12

def meeting_create(*args)
  options = Utils.extract_options!(args)
  Utils.require_params([:host_id, :topic, :type], options)
  Utils.process_datetime_params!(:start_time, options)
  Utils.parse_response self.class.post("/meeting/create", :query => options)
end

#meeting_delete(*args) ⇒ Object



26
27
28
29
30
# File 'lib/zoomus/actions/meeting.rb', line 26

def meeting_delete(*args)
  options = Utils.extract_options!(args)
  Utils.require_params([:id, :host_id], options)
  Utils.parse_response self.class.post("/meeting/delete", :query => options)
end

#meeting_end(*args) ⇒ Object



32
33
34
35
36
# File 'lib/zoomus/actions/meeting.rb', line 32

def meeting_end(*args)
  options = Utils.extract_options!(args)
  Utils.require_params([:id, :host_id], options)
  Utils.parse_response self.class.post("/meeting/end", :query => options)
end

#meeting_get(*args) ⇒ Object



38
39
40
41
42
# File 'lib/zoomus/actions/meeting.rb', line 38

def meeting_get(*args)
  options = Utils.extract_options!(args)
  Utils.require_params([:id, :host_id], options)
  Utils.parse_response self.class.post("/meeting/get", :query => options)
end

#meeting_list(*args) ⇒ Object



5
6
7
8
9
10
# File 'lib/zoomus/actions/meeting.rb', line 5

def meeting_list(*args)
  options = Utils.extract_options!(args)
  Utils.require_params(:host_id, options)
  Utils.process_datetime_params!(:start_time, options)
  Utils.parse_response self.class.post("/meeting/list", :query => options)
end

#meeting_update(*args) ⇒ Object



19
20
21
22
23
24
# File 'lib/zoomus/actions/meeting.rb', line 19

def meeting_update(*args)
  options = Utils.extract_options!(args)
  Utils.require_params([:id, :host_id], options)
  Utils.process_datetime_params!(:start_time, options)
  Utils.parse_response self.class.post("/meeting/update", :query => options)
end