Module: Zoom

Defined in:
lib/zoom_rb.rb,
lib/zoom/error.rb,
lib/zoom/utils.rb,
lib/zoom/client.rb,
lib/zoom/params.rb,
lib/zoom/actions.rb,
lib/zoom/version.rb,
lib/zoom/interface.rb,
lib/zoom/clients/jwt.rb,
lib/zoom/actions/user.rb,
lib/zoom/actions/phone.rb,
lib/zoom/actions/roles.rb,
lib/zoom/actions/token.rb,
lib/zoom/clients/oauth.rb,
lib/zoom/actions/groups.rb,
lib/zoom/actions/report.rb,
lib/zoom/actions/account.rb,
lib/zoom/actions/billing.rb,
lib/zoom/actions/im/chat.rb,
lib/zoom/actions/meeting.rb,
lib/zoom/actions/webinar.rb,
lib/zoom/actions/im/group.rb,
lib/zoom/actions/dashboard.rb,
lib/zoom/actions/recording.rb,
lib/zoom/actions/sip_audio.rb,
lib/zoom/actions/m323_device.rb,
lib/zoom/constants/constants.rb,
lib/zoom/constants/user/types.rb,
lib/zoom/constants/meeting/types.rb,
lib/zoom/constants/webinar/types.rb,
lib/zoom/constants/recurrence/types.rb,
lib/zoom/constants/user/create_types.rb,
lib/zoom/constants/meeting/audio_type.rb,
lib/zoom/constants/webinar/audio_type.rb,
lib/zoom/clients/server_to_server_oauth.rb,
lib/zoom/constants/meeting/approval_types.rb,
lib/zoom/constants/meeting/auto_recording.rb,
lib/zoom/constants/recurrence/weekly_days.rb,
lib/zoom/constants/webinar/approval_types.rb,
lib/zoom/constants/webinar/auto_recording.rb,
lib/zoom/constants/recurrence/monthly_weeks.rb,
lib/zoom/constants/account/options/pay_modes.rb,
lib/zoom/constants/meeting/registration_types.rb,
lib/zoom/constants/webinar/registration_types.rb,
lib/zoom/constants/account/settings/permitted_settings.rb

Defined Under Namespace

Modules: Actions, Constants, Interface Classes: AuthenticationError, BadRequest, Client, Configuration, Conflict, Error, Forbidden, GatewayTimeout, InternalServerError, NotFound, NotImplemented, ParameterMissing, ParameterNotPermitted, ParameterValueNotPermitted, Params, TooManyRequests, Unauthorized, Utils

Constant Summary collapse

VERSION =
'1.1.7'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



31
32
33
# File 'lib/zoom_rb.rb', line 31

def configuration
  @configuration
end

Class Method Details

.configure {|@configuration| ... } ⇒ Object

Yields:



42
43
44
45
# File 'lib/zoom_rb.rb', line 42

def configure
  @configuration ||= Configuration.new
  yield(@configuration)
end

.newObject



33
34
35
36
37
38
39
40
# File 'lib/zoom_rb.rb', line 33

def new
  @configuration ||= Configuration.new
  Zoom::Client::JWT.new(
    api_key: @configuration.api_key,
    api_secret: @configuration.api_secret,
    timeout: @configuration.timeout
  )
end