Class: Dyte::ActiveSessionsResource

Inherits:
Resource
  • Object
show all
Defined in:
lib/dyte/resources/active_sessions.rb

Instance Attribute Summary

Attributes inherited from Resource

#client

Instance Method Summary collapse

Methods inherited from Resource

#initialize

Constructor Details

This class inherits a constructor from Dyte::Resource

Instance Method Details

#fetch(meeting_id:) ⇒ Object



3
4
5
# File 'lib/dyte/resources/active_sessions.rb', line 3

def fetch(meeting_id:)
  ActiveSession.new get_request("meetings/#{meeting_id}/active-session").body.dig("data")
end