Class: Zoomify::Client

Instance Method Summary collapse

Methods included from Resources::Pac

#pac_accounts

Methods included from Resources::Tsp

#dial_in_numbers

Methods included from Resources::Dashboard

#retrieve_zoom_room

Methods included from Resources::Report

#daily_report, #meetings_report

Methods included from Resources::ImChat

#im_chat_session_messages, #im_chat_sessions

Methods included from Resources::ImGroup

#im_group_delete_member

Methods included from Resources::Group

#group_delete_member

Methods included from Resources::CloudRecording

#user_cloud_recordings

Methods included from Resources::Webinar

#webinar_panelists_delete

Methods included from Resources::User

#upload_picture

Constructor Details

#initialize(*args) ⇒ Client

Returns a new instance of Client.



27
28
29
30
31
32
33
# File 'lib/zoomify/client.rb', line 27

def initialize(*args)
  params = Request.extract_params(args)
  raise Request.argument_error("api_key and api_secret") unless params[:api_key] && params[:api_secret]
  Zoomify.api_key = params[:api_key]
  Zoomify.api_secret = params[:api_secret]
  self.class.headers(Request.headers)
end