Module: Zoom::Actions::Report

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

Instance Method Summary collapse

Instance Method Details

#daily_report(*args) ⇒ Object



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

def daily_report(*args)
  params = Zoom::Params.new(Utils.extract_options!(args))
  params.permit(%i[year month])
  Utils.parse_response self.class.get('/report/daily', query: params, headers: request_headers)
end

#meeting_details_report(*args) ⇒ Object



11
12
13
14
15
# File 'lib/zoom/actions/report.rb', line 11

def meeting_details_report(*args)
  params = Zoom::Params.new(Utils.extract_options!(args))
  params.require(:id)
  Utils.parse_response self.class.get("/report/meetings/#{params[:id]}", query: params.except(:id), headers: request_headers)
end

#meeting_participants_report(*args) ⇒ Object



17
18
19
20
21
# File 'lib/zoom/actions/report.rb', line 17

def meeting_participants_report(*args)
  params = Zoom::Params.new(Utils.extract_options!(args))
  params.require(:id).permit(%i[page_size next_page_token])
  Utils.parse_response self.class.get("/report/meetings/#{params[:id]}/participants", query: params.except(:id), headers: request_headers)
end

#webinar_participants_report(*args) ⇒ Object



23
24
25
26
27
# File 'lib/zoom/actions/report.rb', line 23

def webinar_participants_report(*args)
  params = Zoom::Params.new(Utils.extract_options!(args))
  params.require(:id).permit(%i[page_size next_page_token])
  Utils.parse_response self.class.get("/report/webinars/#{params[:id]}/participants", query: params.except(:id), headers: request_headers)
end