module Zoomify::Resources::Dashboard

Public Instance Methods

retrieve_zoom_room(*args) click to toggle source
# File lib/zoomify/resources/dashboard.rb, line 17
def retrieve_zoom_room *args
  params = Request.retrieve_params_and_manage_from_to_error *args
  (raise Request.argument_error "id") if params[:id].blank?
  self.class.fire_get("/metrics/zoomrooms/#{params[:id]}", params)
end

Private Instance Methods

dashboard_method_with_id_options(params) click to toggle source
# File lib/zoomify/resources/dashboard.rb, line 40
def dashboard_method_with_id_options params
  {
      meeting_detail_metrics: "/metrics/meetings/#{params[:id]}",
      meeting_participants_metrics: "/metrics/meetings/#{params[:id]}/participants",
      meeting_participants_qos_metrics: "/metrics/meetings/#{params[:id]}/participants/qos",
      meeting_participants_sharing_metrics: "/metrics/meetings/#{params[:id]}/participants/sharing",
      webinar_details_metrics: "/metrics/webinars/#{params[:id]}",
      webinar_participants_metrics: "/metrics/webinars/#{params[:id]}/participants",
      webinar_participants_qos_metrics: "/metrics/webinars/#{params[:id]}/participants/qos",
      webinar_participants_sharing_metrics: "/metrics/webinars/#{params[:id]}/participants/sharing"
  }
end
dashboard_method_with_multiple_id_options(params) click to toggle source
# File lib/zoomify/resources/dashboard.rb, line 52
def dashboard_method_with_multiple_id_options params
  {
      particular_meeting_participant_qos_metrics: "/metrics/meetings/#{params[:id]}/participants/#{params[:participant_id]}/qos",
      particular_webinar_participant_qos_metrics: "/metrics/webinars/#{params[:id]}/participants/#{params[:participant_id]}/qos"
  }
end
dashboard_method_without_id_options() click to toggle source
# File lib/zoomify/resources/dashboard.rb, line 31
def dashboard_method_without_id_options
  {
      meeting_metrics: '/metrics/meetings',
      webinar_metrics: '/metrics/webinars',
      crc_metrics: '/metrics/crc',
      im_metrics: '/metrics/im',
      zoom_rooms_metrics: '/metrics/zoomrooms'
  }
end