Module: Zoom::Actions::Phone

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

Instance Method Summary collapse

Instance Method Details

#call_logs(*args) ⇒ Object



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

def call_logs(*args)
  options = Zoom::Params.new(Utils.extract_options!(args))
  options.require(i[user_id])
  response = self.class.get("/phone/users/#{options[:user_id]}/call_logs", query: options.except(:user_id), headers: request_headers)
  Utils.parse_response(response)
end

#call_recordings(*args) ⇒ Object



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

def call_recordings(*args)
  options = Zoom::Params.new(Utils.extract_options!(args))
  options.require(i[user_id])
  response = self.class.get("/phone/users/#{options[:user_id]}/recordings", query: options.except(:user_id), headers: request_headers)
  Utils.parse_response(response)
end

#phone_users_list(*args) ⇒ Object



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

def phone_users_list(*args)
  options = Zoom::Params.new(Utils.extract_options!(args))
  response = self.class.get("/phone/users", query: options, headers: request_headers)
  Utils.parse_response(response)
end