Module: Zoomus::Actions::Webinar

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

Instance Method Summary collapse

Instance Method Details

#webinar_create(*args) ⇒ Object



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

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

#webinar_delete(*args) ⇒ Object



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

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

#webinar_end(*args) ⇒ Object



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

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

#webinar_get(*args) ⇒ Object



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

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

#webinar_list(*args) ⇒ Object



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

def webinar_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("/webinar/list", :query => options)
end

#webinar_update(*args) ⇒ Object



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

def webinar_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("/webinar/update", :query => options)
end