Sha256: 0c7eabee32d008dcda4987361100ac93be93952632a7b473e9024893ed61f90d
Contents?: true
Size: 1.07 KB
Versions: 2
Compression:
Stored size: 1.07 KB
Contents
# frozen_string_literal: true $:.unshift File.dirname(__FILE__) require 'zoom/version' require 'zoom/constants' require 'zoom/params' require 'zoom/utils' require 'zoom/actions/account' require 'zoom/actions/group' require 'zoom/actions/m323_device' require 'zoom/actions/meeting' require 'zoom/actions/metrics' require 'zoom/actions/recording' require 'zoom/actions/report' require 'zoom/actions/user' require 'zoom/actions/webinar' require 'zoom/actions/im/chat' require 'zoom/actions/im/group' require 'zoom/client' require 'zoom/error' module Zoom class << self attr_accessor :configuration def new @configuration ||= Configuration.new Zoom::Client.new( api_key: @configuration.api_key, api_secret: @configuration.api_secret, timeout: @configuration.timeout ) end def configure @configuration ||= Configuration.new yield(@configuration) end end class Configuration attr_accessor :api_key, :api_secret, :timeout def initialize @api_key = @api_secret = 'xxx' @timeout = 15 end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
zoom_rb-0.9.1 | lib/zoom.rb |
zoom_rb-0.9.0 | lib/zoom.rb |