Sha256: b0d67f508cb1bd81a28e61071f2e49d8f9da52dc04532b6e90adf2f8ea6c0562
Contents?: true
Size: 804 Bytes
Versions: 1
Compression:
Stored size: 804 Bytes
Contents
$:.unshift File.dirname(__FILE__) require 'zoomus/utils' require 'zoomus/actions/user' require 'zoomus/actions/meeting' require 'zoomus/actions/report' require 'zoomus/actions/webinar' require 'zoomus/client' require 'zoomus/error' module Zoomus class << self attr_accessor :configuration def new @configuration ||= Configuration.new Zoomus::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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zoomus-0.4.0 | lib/zoomus.rb |