Sha256: b08398b11b717a725214c2420b3097d2c980f4756be039c89bc397715b5f10cb

Contents?: true

Size: 601 Bytes

Versions: 4

Compression:

Stored size: 601 Bytes

Contents

require 'httparty'
require 'json'

module Zoomus
  class Client

    include HTTParty
    include Actions::User
    include Actions::Meeting
    include Actions::Report

    base_uri 'https://api.zoom.us/v1'

    def initialize(*args)

      options = Utils.extract_options!(args)

      raise Utils.argument_error("api_key and api_secret") unless options[:api_key] &&
                                                                  options[:api_secret]
      self.class.default_params(
        :api_key    => options[:api_key],
        :api_secret => options[:api_secret]
      )
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
zoomus-0.3.1 lib/zoomus/client.rb
zoomus-0.3.0 lib/zoomus/client.rb
zoomus-0.2.1 lib/zoomus/client.rb
zoomus-0.2.0 lib/zoomus/client.rb