Module: Zoom::Actions::Metrics

Included in:
Client
Defined in:
lib/zoom/actions/metrics.rb

Instance Method Summary collapse

Instance Method Details

#metrics_crc(*args) ⇒ Object



6
7
8
9
10
11
# File 'lib/zoom/actions/metrics.rb', line 6

def metrics_crc(*args)
  options = Utils.extract_options!(args)
  Zoom::Params.new(options).require(:from, :to)
  Utils.process_datetime_params!(%i[from to], options)
  Utils.parse_response self.class.post('/metrics/crc', query: options)
end

#metrics_meetingdetail(*args) ⇒ Object



20
21
22
23
24
# File 'lib/zoom/actions/metrics.rb', line 20

def metrics_meetingdetail(*args)
  options = Utils.extract_options!(args)
  Zoom::Params.new(options).require(:meeting_id, :type)
  Utils.parse_response self.class.post('/metrics/meetingdetail', query: options)
end

#metrics_meetings(*args) ⇒ Object



13
14
15
16
17
18
# File 'lib/zoom/actions/metrics.rb', line 13

def metrics_meetings(*args)
  options = Utils.extract_options!(args)
  Zoom::Params.new(options).require(:from, :to, :type)
  Utils.process_datetime_params!(%i[from to], options)
  Utils.parse_response self.class.post('/metrics/meetings', query: options)
end