Class: Zoomify::Client
- Inherits:
-
Object
- Object
- Zoomify::Client
- Includes:
- HTTParty, Resources::Account, Resources::Billing, Resources::CloudRecording, Resources::Dashboard, Resources::Device, Resources::Group, Resources::ImChat, Resources::ImGroup, Resources::Meeting, Resources::Pac, Resources::Report, Resources::Tsp, Resources::User, Resources::Webhooks, Resources::Webinar
- Defined in:
- lib/zoomify/client.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ Client
constructor
A new instance of Client.
Methods included from Resources::Pac
Methods included from Resources::Tsp
Methods included from Resources::Dashboard
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
Methods included from Resources::Group
Methods included from Resources::CloudRecording
Methods included from Resources::Webinar
Methods included from Resources::User
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 |