Module: Zoomus::Actions::Webinar
- Included in:
- Client
- Defined in:
- lib/zoomus/actions/webinar.rb
Instance Method Summary collapse
- #webinar_create(*args) ⇒ Object
- #webinar_delete(*args) ⇒ Object
- #webinar_end(*args) ⇒ Object
- #webinar_get(*args) ⇒ Object
- #webinar_list(*args) ⇒ Object
- #webinar_update(*args) ⇒ Object
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) = Utils.(args) Utils.require_params([:host_id, :topic], ) Utils.process_datetime_params!(:start_time, ) Utils.parse_response self.class.post("/webinar/create", :query => ) end |
#webinar_delete(*args) ⇒ Object
26 27 28 29 30 |
# File 'lib/zoomus/actions/webinar.rb', line 26 def webinar_delete(*args) = Utils.(args) Utils.require_params([:id, :host_id], ) Utils.parse_response self.class.post("/webinar/delete", :query => ) end |
#webinar_end(*args) ⇒ Object
32 33 34 35 36 |
# File 'lib/zoomus/actions/webinar.rb', line 32 def webinar_end(*args) = Utils.(args) Utils.require_params([:id, :host_id], ) Utils.parse_response self.class.post("/webinar/end", :query => ) end |
#webinar_get(*args) ⇒ Object
38 39 40 41 42 |
# File 'lib/zoomus/actions/webinar.rb', line 38 def webinar_get(*args) = Utils.(args) Utils.require_params([:id, :host_id], ) Utils.parse_response self.class.post("/webinar/get", :query => ) end |
#webinar_list(*args) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/zoomus/actions/webinar.rb', line 5 def webinar_list(*args) = Utils.(args) Utils.require_params(:host_id, ) Utils.process_datetime_params!(:start_time, ) Utils.parse_response self.class.post("/webinar/list", :query => ) end |
#webinar_update(*args) ⇒ Object
19 20 21 22 23 24 |
# File 'lib/zoomus/actions/webinar.rb', line 19 def webinar_update(*args) = Utils.(args) Utils.require_params([:id, :host_id], ) Utils.process_datetime_params!(:start_time, ) Utils.parse_response self.class.post("/webinar/update", :query => ) end |