zoom_rb 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (172) hide show
  1. checksums.yaml +7 -0
  2. data/.circleci/config.yml +64 -0
  3. data/.gitignore +19 -0
  4. data/.ruby-version +1 -0
  5. data/Gemfile +5 -0
  6. data/Gemfile.lock +91 -0
  7. data/LICENSE +22 -0
  8. data/Makefile +5 -0
  9. data/README.md +51 -0
  10. data/lib/zoom.rb +49 -0
  11. data/lib/zoom/actions/account.rb +93 -0
  12. data/lib/zoom/actions/group.rb +8 -0
  13. data/lib/zoom/actions/im/chat.rb +29 -0
  14. data/lib/zoom/actions/im/group.rb +10 -0
  15. data/lib/zoom/actions/m323_device.rb +8 -0
  16. data/lib/zoom/actions/meeting.rb +80 -0
  17. data/lib/zoom/actions/metrics.rb +29 -0
  18. data/lib/zoom/actions/recording.rb +35 -0
  19. data/lib/zoom/actions/report.rb +29 -0
  20. data/lib/zoom/actions/user.rb +146 -0
  21. data/lib/zoom/actions/webinar.rb +110 -0
  22. data/lib/zoom/client.rb +36 -0
  23. data/lib/zoom/defaults.rb +96 -0
  24. data/lib/zoom/error.rb +9 -0
  25. data/lib/zoom/interface.rb +6 -0
  26. data/lib/zoom/params.rb +64 -0
  27. data/lib/zoom/utils.rb +74 -0
  28. data/spec/fixtures/chat/get.json +16 -0
  29. data/spec/fixtures/chat/list.json +16 -0
  30. data/spec/fixtures/error/validation.json +10 -0
  31. data/spec/fixtures/mc_recording_list.json +51 -0
  32. data/spec/fixtures/meeting/create.json +24 -0
  33. data/spec/fixtures/meeting/delete.json +4 -0
  34. data/spec/fixtures/meeting/end.json +4 -0
  35. data/spec/fixtures/meeting/get.json +34 -0
  36. data/spec/fixtures/meeting/list.json +32 -0
  37. data/spec/fixtures/meeting/live.json +32 -0
  38. data/spec/fixtures/meeting/register.json +7 -0
  39. data/spec/fixtures/meeting/update.json +4 -0
  40. data/spec/fixtures/metrics_crc.json +105 -0
  41. data/spec/fixtures/metrics_meetingdetail.json +32 -0
  42. data/spec/fixtures/metrics_meetings.json +26 -0
  43. data/spec/fixtures/recording_delete.json +4 -0
  44. data/spec/fixtures/recording_get.json +37 -0
  45. data/spec/fixtures/recording_list.json +51 -0
  46. data/spec/fixtures/report/getaccountreport.json +23 -0
  47. data/spec/fixtures/report/getaudioreport.json +22 -0
  48. data/spec/fixtures/report/getdailyreport.json +13 -0
  49. data/spec/fixtures/report/getuserreport.json +24 -0
  50. data/spec/fixtures/report_getaccountreport.json +23 -0
  51. data/spec/fixtures/report_getdailyreport.json +83 -0
  52. data/spec/fixtures/report_getuserreport.json +24 -0
  53. data/spec/fixtures/user/assistant/delete.json +5 -0
  54. data/spec/fixtures/user/assistant/set.json +5 -0
  55. data/spec/fixtures/user/autocreate.json +51 -0
  56. data/spec/fixtures/user/autocreate2.json +51 -0
  57. data/spec/fixtures/user/create.json +7 -0
  58. data/spec/fixtures/user/custcreate.json +10 -0
  59. data/spec/fixtures/user/delete.json +0 -0
  60. data/spec/fixtures/user/get.json +23 -0
  61. data/spec/fixtures/user/getbyemail.json +8 -0
  62. data/spec/fixtures/user/list.json +23 -0
  63. data/spec/fixtures/user/pending.json +56 -0
  64. data/spec/fixtures/user/permanent_delete.json +4 -0
  65. data/spec/fixtures/user/update.json +0 -0
  66. data/spec/fixtures/webinar/create.json +29 -0
  67. data/spec/fixtures/webinar/delete.json +0 -0
  68. data/spec/fixtures/webinar/list.json +20 -0
  69. data/spec/fixtures/webinar/registrant/add.json +7 -0
  70. data/spec/fixtures/webinar/registrant/list.json +36 -0
  71. data/spec/fixtures/webinar/update.json +0 -0
  72. data/spec/fixtures/webinar_delete.json +4 -0
  73. data/spec/fixtures/webinar_end.json +4 -0
  74. data/spec/fixtures/webinar_get.json +17 -0
  75. data/spec/fixtures/webinar_update.json +4 -0
  76. data/spec/lib/zoom/actions/group/create_spec.rb +3 -0
  77. data/spec/lib/zoom/actions/group/delete_spec.rb +3 -0
  78. data/spec/lib/zoom/actions/group/edit_spec.rb +3 -0
  79. data/spec/lib/zoom/actions/group/get_spec.rb +3 -0
  80. data/spec/lib/zoom/actions/group/list_spec.rb +3 -0
  81. data/spec/lib/zoom/actions/group/member/add_spec.rb +3 -0
  82. data/spec/lib/zoom/actions/group/member/delete_spec.rb +3 -0
  83. data/spec/lib/zoom/actions/group/member/list_spec.rb +3 -0
  84. data/spec/lib/zoom/actions/im/chat/get_spec.rb +64 -0
  85. data/spec/lib/zoom/actions/im/chat/list_spec.rb +58 -0
  86. data/spec/lib/zoom/actions/im/group/create_spec.rb +3 -0
  87. data/spec/lib/zoom/actions/im/group/delete_spec.rb +3 -0
  88. data/spec/lib/zoom/actions/im/group/edit_spec.rb +3 -0
  89. data/spec/lib/zoom/actions/im/group/get_spec.rb +3 -0
  90. data/spec/lib/zoom/actions/im/group/list_spec.rb +3 -0
  91. data/spec/lib/zoom/actions/im/group/member/add_spec.rb +3 -0
  92. data/spec/lib/zoom/actions/im/group/member/delete_spec.rb +3 -0
  93. data/spec/lib/zoom/actions/im/group/member/list_spec.rb +3 -0
  94. data/spec/lib/zoom/actions/m323/device/create_spec.rb +3 -0
  95. data/spec/lib/zoom/actions/m323/device/delete_spec.rb +3 -0
  96. data/spec/lib/zoom/actions/m323/device/list_spec.rb +3 -0
  97. data/spec/lib/zoom/actions/m323/device/update_spec.rb +3 -0
  98. data/spec/lib/zoom/actions/ma/account/billing_update_spec.rb +3 -0
  99. data/spec/lib/zoom/actions/ma/account/create_spec.rb +3 -0
  100. data/spec/lib/zoom/actions/ma/account/delete_spec.rb +3 -0
  101. data/spec/lib/zoom/actions/ma/account/get_spec.rb +3 -0
  102. data/spec/lib/zoom/actions/ma/account/list_spec.rb +3 -0
  103. data/spec/lib/zoom/actions/ma/account/plan/add_spec.rb +0 -0
  104. data/spec/lib/zoom/actions/ma/account/plan/get_spec.rb +0 -0
  105. data/spec/lib/zoom/actions/ma/account/plan/subscribe_spec.rb +3 -0
  106. data/spec/lib/zoom/actions/ma/account/plan/update_spec.rb +3 -0
  107. data/spec/lib/zoom/actions/meeting/create_spec.rb +66 -0
  108. data/spec/lib/zoom/actions/meeting/delete_spec.rb +55 -0
  109. data/spec/lib/zoom/actions/meeting/end_spec.rb +55 -0
  110. data/spec/lib/zoom/actions/meeting/get_spec.rb +59 -0
  111. data/spec/lib/zoom/actions/meeting/list_spec.rb +48 -0
  112. data/spec/lib/zoom/actions/meeting/live_spec.rb +43 -0
  113. data/spec/lib/zoom/actions/meeting/register_spec.rb +45 -0
  114. data/spec/lib/zoom/actions/meeting/update_spec.rb +53 -0
  115. data/spec/lib/zoom/actions/metrics/crc_spec.rb +48 -0
  116. data/spec/lib/zoom/actions/metrics/im_spec.rb +3 -0
  117. data/spec/lib/zoom/actions/metrics/meetingdetail_spec.rb +51 -0
  118. data/spec/lib/zoom/actions/metrics/meetings_spec.rb +61 -0
  119. data/spec/lib/zoom/actions/metrics/qos_spec.rb +3 -0
  120. data/spec/lib/zoom/actions/metrics/webinardetail_spec.rb +3 -0
  121. data/spec/lib/zoom/actions/metrics/webinars_spec.rb +3 -0
  122. data/spec/lib/zoom/actions/metrics/zoomroomdetail_spec.rb +3 -0
  123. data/spec/lib/zoom/actions/metrics/zoomrooms_spec.rb +3 -0
  124. data/spec/lib/zoom/actions/recording/delete_spec.rb +52 -0
  125. data/spec/lib/zoom/actions/recording/get_spec.rb +66 -0
  126. data/spec/lib/zoom/actions/recording/list_spec.rb +51 -0
  127. data/spec/lib/zoom/actions/recording/mc_list_spec.rb +51 -0
  128. data/spec/lib/zoom/actions/report/getaccountreport_spec.rb +57 -0
  129. data/spec/lib/zoom/actions/report/getaudioreport_spec.rb +3 -0
  130. data/spec/lib/zoom/actions/report/getdailyreport_spec.rb +62 -0
  131. data/spec/lib/zoom/actions/report/getuserreport_spec.rb +67 -0
  132. data/spec/lib/zoom/actions/user/activate_spec.rb +3 -0
  133. data/spec/lib/zoom/actions/user/assistant/delete_spec.rb +3 -0
  134. data/spec/lib/zoom/actions/user/assistant/set_spec.rb +3 -0
  135. data/spec/lib/zoom/actions/user/autocreate2_spec.rb +59 -0
  136. data/spec/lib/zoom/actions/user/autocreate_spec.rb +58 -0
  137. data/spec/lib/zoom/actions/user/checkemail_spec.rb +3 -0
  138. data/spec/lib/zoom/actions/user/checkzpk_spec.rb +3 -0
  139. data/spec/lib/zoom/actions/user/create_spec.rb +69 -0
  140. data/spec/lib/zoom/actions/user/custcreate_spec.rb +59 -0
  141. data/spec/lib/zoom/actions/user/deactivate_spec.rb +3 -0
  142. data/spec/lib/zoom/actions/user/delete_spec.rb +40 -0
  143. data/spec/lib/zoom/actions/user/get_spec.rb +50 -0
  144. data/spec/lib/zoom/actions/user/getbyemail_spec.rb +54 -0
  145. data/spec/lib/zoom/actions/user/list_spec.rb +47 -0
  146. data/spec/lib/zoom/actions/user/revoketoken_spec.rb +3 -0
  147. data/spec/lib/zoom/actions/user/update_spec.rb +40 -0
  148. data/spec/lib/zoom/actions/user/updatepassword_spec.rb +3 -0
  149. data/spec/lib/zoom/actions/webinar/attendees_list_spec.rb +3 -0
  150. data/spec/lib/zoom/actions/webinar/create_spec.rb +52 -0
  151. data/spec/lib/zoom/actions/webinar/delete_spec.rb +40 -0
  152. data/spec/lib/zoom/actions/webinar/end_spec.rb +3 -0
  153. data/spec/lib/zoom/actions/webinar/get_spec.rb +65 -0
  154. data/spec/lib/zoom/actions/webinar/list_registration_spec.rb +3 -0
  155. data/spec/lib/zoom/actions/webinar/list_spec.rb +48 -0
  156. data/spec/lib/zoom/actions/webinar/panelists_spec.rb +3 -0
  157. data/spec/lib/zoom/actions/webinar/polls_spec.rb +3 -0
  158. data/spec/lib/zoom/actions/webinar/questions_spec.rb +3 -0
  159. data/spec/lib/zoom/actions/webinar/register_spec.rb +3 -0
  160. data/spec/lib/zoom/actions/webinar/registrants/add_spec.rb +60 -0
  161. data/spec/lib/zoom/actions/webinar/registrants/approve_spec.rb +3 -0
  162. data/spec/lib/zoom/actions/webinar/registrants/list_spec.rb +40 -0
  163. data/spec/lib/zoom/actions/webinar/registration_cancel_spec.rb +3 -0
  164. data/spec/lib/zoom/actions/webinar/registration_spec.rb +3 -0
  165. data/spec/lib/zoom/actions/webinar/update_spec.rb +40 -0
  166. data/spec/lib/zoom/actions/webinar/uuid_list_spec.rb +3 -0
  167. data/spec/lib/zoom/client_spec.rb +45 -0
  168. data/spec/lib/zoom/params_spec.rb +68 -0
  169. data/spec/lib/zoom/utils_spec.rb +73 -0
  170. data/spec/spec_helper.rb +35 -0
  171. data/zoom_rb.gemspec +29 -0
  172. metadata +483 -0
@@ -0,0 +1,68 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'spec_helper'
4
+
5
+ RSpec.describe Zoom::Params do
6
+
7
+ describe '#require' do
8
+ let(:params) { Zoom::Params.new(foo: :bar, baz: :bang) }
9
+
10
+ it 'does not raise an error when required keys are present' do
11
+ expect { params.require(:foo) }.not_to raise_error(Zoom::ParameterMissing)
12
+ end
13
+
14
+ it 'does raise an error when required keys are missing' do
15
+ expect { params.require(:bar) }.to raise_error(Zoom::ParameterMissing, [:bar].to_s)
16
+ end
17
+
18
+ it 'returns the rest of the params' do
19
+ expect(params.require(:foo)).to eql(baz: :bang)
20
+ end
21
+ end
22
+
23
+ describe '#permit' do
24
+ let(:params) { Zoom::Params.new(foo: true, bar: :baz ) }
25
+
26
+ it 'does not raise an error when permitted keys are present' do
27
+ expect { params.require(:foo).permit(:bar) }.not_to raise_error(Zoom::ParameterNotPermitted)
28
+ end
29
+
30
+ it 'does not raise an error when permitted keys are not present' do
31
+ expect { params.require(:foo).permit(:bar, :bang) }.not_to raise_error(Zoom::ParameterNotPermitted)
32
+ end
33
+
34
+ context 'raises an error' do
35
+ let(:bad_params) { Zoom::Params.new(foo: true, bar: :baz, bang: :boom) }
36
+ let(:other_bad_params) do
37
+ Zoom::Params.new(foo: true, bar: { baz: :bang,
38
+ boom: :pow,
39
+ asdf: :test,
40
+ testerino: :other })
41
+ end
42
+ let(:really_bad_params) do
43
+ Zoom::Params.new(foo: true,
44
+ bar: {
45
+ baz: {
46
+ bang: {
47
+ nested: true,
48
+ this: :thing,
49
+ is: { very: :deep },
50
+ bad_param: :asdf
51
+ }
52
+ }
53
+ })
54
+ end
55
+ it 'when non-permitted keys are present' do
56
+ expect { bad_params.require(:foo).permit(:bar) }.to raise_error(Zoom::ParameterNotPermitted, [:bang].to_s)
57
+ end
58
+
59
+ it 'when nested non-permitted keys are present' do
60
+ expect { other_bad_params.require(:foo).permit(bar: [:baz, :boom]) }.to raise_error(Zoom::ParameterNotPermitted, [:asdf, :testerino].to_s)
61
+ end
62
+
63
+ it 'when deeply nested non-permitted keys are present' do
64
+ expect { really_bad_params.require(:foo).permit(bar: { baz: { bang: [ :nested, :this, { is: :very } ] } }) }.to raise_error(Zoom::ParameterNotPermitted, [:bad_param].to_s)
65
+ end
66
+ end
67
+ end
68
+ end
@@ -0,0 +1,73 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'spec_helper'
4
+
5
+ xdescribe Zoom::Utils do
6
+
7
+ before(:all) do
8
+ class Utils < Zoom::Utils; end
9
+ end
10
+
11
+ xdescribe '#argument_error' do
12
+ it 'raises ArgumentError' do
13
+ expect(Utils.argument_error('foo')).to be_instance_of(ArgumentError)
14
+ end
15
+ end
16
+
17
+ xdescribe '#raise_if_error!' do
18
+ it 'raises Zoom::Error if error is present' do
19
+ response = { 'error' => { 'message' => 'lol error' } }
20
+ expect { Utils.raise_if_error!(response) }.to raise_error(Zoom::Error)
21
+ end
22
+
23
+ it 'does not raise Zoom::Error if error is not present' do
24
+ response = {}
25
+ expect { Utils.raise_if_error!(response) }.to_not raise_error
26
+ end
27
+ end
28
+
29
+ xdescribe '#require_params' do
30
+ it 'raises ArgumentError if the param is not present' do
31
+ expect { Utils.require_params(:foo, { bar: 'bar' }) }.to raise_error(ArgumentError)
32
+ end
33
+
34
+ it 'does not raise ArgumentError if the param is present' do
35
+ expect { Utils.require_params(:foo, { foo: 'foo' }) }.to_not raise_error
36
+ end
37
+ end
38
+
39
+ xdescribe '#extract_options!' do
40
+ it 'converts array to hash options' do
41
+ args = [{ foo: 'foo' }, { bar: 'bar' }, { zemba: 'zemba' }]
42
+ expect(Utils.extract_options!(args)).to be_kind_of(Hash)
43
+ end
44
+ end
45
+
46
+ xdescribe '#process_datetime_params' do
47
+ it 'converts the Time objects to formatted strings' do
48
+ args = {
49
+ foo: 'foo',
50
+ bar: Time.utc(2000, 'jan', 1, 20, 15, 1)
51
+ }
52
+ expect(
53
+ Utils.process_datetime_params!(:bar, args)
54
+ ).to eq({ foo: 'foo',
55
+ bar: '2000-01-01T20:15:01Z' })
56
+ end
57
+ end
58
+
59
+ xdescribe '#define_bang_methods' do
60
+ before :each do
61
+ stub_request(:post, zoom_url('/user/custcreate')).to_timeout
62
+ end
63
+
64
+ it 'raises Zoom::GatewayTimeout on timeout' do
65
+ args = { email: 'foo@bar.com',
66
+ first_name: 'Foo',
67
+ last_name: 'Bar',
68
+ type: 1 }
69
+
70
+ expect { zoom_client.user_custcreate!(args) }.to raise_error(Zoom::GatewayTimeout)
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'simplecov'
4
+ SimpleCov.start
5
+
6
+ require 'rubygems'
7
+ require 'bundler/setup'
8
+ require 'zoom'
9
+ require 'webmock/rspec'
10
+
11
+ RSpec.configure do |config|
12
+ # some (optional) config here
13
+ end
14
+
15
+ def fixture(*path, filename)
16
+ File.join('spec', 'fixtures', path, filename)
17
+ end
18
+
19
+ def json_response(*path, endpoint)
20
+ open(fixture(path, endpoint + '.json')).read
21
+ end
22
+
23
+ def zoom_url(url)
24
+ /https:\/\/api.zoom.us\/v2#{url}.*/
25
+ end
26
+
27
+ def zoom_client
28
+ Zoom.new
29
+ end
30
+
31
+ def filter_key(hash, key)
32
+ copy = hash.dup
33
+ copy.delete(key)
34
+ copy
35
+ end
data/zoom_rb.gemspec ADDED
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+
3
+ Gem::Specification.new do |gem|
4
+
5
+ gem.add_dependency 'httparty', '~> 0.13'
6
+ gem.add_dependency 'json', '>= 1.8'
7
+ gem.add_dependency 'jwt'
8
+
9
+ gem.add_development_dependency 'pry'
10
+ gem.add_development_dependency 'hint-rubocop_style'
11
+ gem.add_development_dependency 'rspec'
12
+ gem.add_development_dependency 'rspec_junit_formatter'
13
+ gem.add_development_dependency 'simplecov'
14
+ gem.add_development_dependency 'webmock'
15
+
16
+ gem.authors = ['Kyle Boe']
17
+ gem.email = ['kyle@boe.codes']
18
+ gem.description = 'A Ruby API wrapper for zoom.us API'
19
+ gem.summary = 'zoom.us API wrapper'
20
+ gem.homepage = 'https://github.com/hintmedia/zoom_rb'
21
+ gem.licenses = ['MIT']
22
+
23
+ gem.files = `git ls-files`.split($\)
24
+ gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
25
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
26
+ gem.name = 'zoom_rb'
27
+ gem.require_paths = ['lib']
28
+ gem.version = '0.8.1'
29
+ end
metadata ADDED
@@ -0,0 +1,483 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: zoom_rb
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.8.1
5
+ platform: ruby
6
+ authors:
7
+ - Kyle Boe
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-10-03 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: httparty
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.13'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.13'
27
+ - !ruby/object:Gem::Dependency
28
+ name: json
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '1.8'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '1.8'
41
+ - !ruby/object:Gem::Dependency
42
+ name: jwt
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pry
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: hint-rubocop_style
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec_junit_formatter
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: simplecov
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: webmock
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ description: A Ruby API wrapper for zoom.us API
140
+ email:
141
+ - kyle@boe.codes
142
+ executables: []
143
+ extensions: []
144
+ extra_rdoc_files: []
145
+ files:
146
+ - ".circleci/config.yml"
147
+ - ".gitignore"
148
+ - ".ruby-version"
149
+ - Gemfile
150
+ - Gemfile.lock
151
+ - LICENSE
152
+ - Makefile
153
+ - README.md
154
+ - lib/zoom.rb
155
+ - lib/zoom/actions/account.rb
156
+ - lib/zoom/actions/group.rb
157
+ - lib/zoom/actions/im/chat.rb
158
+ - lib/zoom/actions/im/group.rb
159
+ - lib/zoom/actions/m323_device.rb
160
+ - lib/zoom/actions/meeting.rb
161
+ - lib/zoom/actions/metrics.rb
162
+ - lib/zoom/actions/recording.rb
163
+ - lib/zoom/actions/report.rb
164
+ - lib/zoom/actions/user.rb
165
+ - lib/zoom/actions/webinar.rb
166
+ - lib/zoom/client.rb
167
+ - lib/zoom/defaults.rb
168
+ - lib/zoom/error.rb
169
+ - lib/zoom/interface.rb
170
+ - lib/zoom/params.rb
171
+ - lib/zoom/utils.rb
172
+ - spec/fixtures/chat/get.json
173
+ - spec/fixtures/chat/list.json
174
+ - spec/fixtures/error/validation.json
175
+ - spec/fixtures/mc_recording_list.json
176
+ - spec/fixtures/meeting/create.json
177
+ - spec/fixtures/meeting/delete.json
178
+ - spec/fixtures/meeting/end.json
179
+ - spec/fixtures/meeting/get.json
180
+ - spec/fixtures/meeting/list.json
181
+ - spec/fixtures/meeting/live.json
182
+ - spec/fixtures/meeting/register.json
183
+ - spec/fixtures/meeting/update.json
184
+ - spec/fixtures/metrics_crc.json
185
+ - spec/fixtures/metrics_meetingdetail.json
186
+ - spec/fixtures/metrics_meetings.json
187
+ - spec/fixtures/recording_delete.json
188
+ - spec/fixtures/recording_get.json
189
+ - spec/fixtures/recording_list.json
190
+ - spec/fixtures/report/getaccountreport.json
191
+ - spec/fixtures/report/getaudioreport.json
192
+ - spec/fixtures/report/getdailyreport.json
193
+ - spec/fixtures/report/getuserreport.json
194
+ - spec/fixtures/report_getaccountreport.json
195
+ - spec/fixtures/report_getdailyreport.json
196
+ - spec/fixtures/report_getuserreport.json
197
+ - spec/fixtures/user/assistant/delete.json
198
+ - spec/fixtures/user/assistant/set.json
199
+ - spec/fixtures/user/autocreate.json
200
+ - spec/fixtures/user/autocreate2.json
201
+ - spec/fixtures/user/create.json
202
+ - spec/fixtures/user/custcreate.json
203
+ - spec/fixtures/user/delete.json
204
+ - spec/fixtures/user/get.json
205
+ - spec/fixtures/user/getbyemail.json
206
+ - spec/fixtures/user/list.json
207
+ - spec/fixtures/user/pending.json
208
+ - spec/fixtures/user/permanent_delete.json
209
+ - spec/fixtures/user/update.json
210
+ - spec/fixtures/webinar/create.json
211
+ - spec/fixtures/webinar/delete.json
212
+ - spec/fixtures/webinar/list.json
213
+ - spec/fixtures/webinar/registrant/add.json
214
+ - spec/fixtures/webinar/registrant/list.json
215
+ - spec/fixtures/webinar/update.json
216
+ - spec/fixtures/webinar_delete.json
217
+ - spec/fixtures/webinar_end.json
218
+ - spec/fixtures/webinar_get.json
219
+ - spec/fixtures/webinar_update.json
220
+ - spec/lib/zoom/actions/group/create_spec.rb
221
+ - spec/lib/zoom/actions/group/delete_spec.rb
222
+ - spec/lib/zoom/actions/group/edit_spec.rb
223
+ - spec/lib/zoom/actions/group/get_spec.rb
224
+ - spec/lib/zoom/actions/group/list_spec.rb
225
+ - spec/lib/zoom/actions/group/member/add_spec.rb
226
+ - spec/lib/zoom/actions/group/member/delete_spec.rb
227
+ - spec/lib/zoom/actions/group/member/list_spec.rb
228
+ - spec/lib/zoom/actions/im/chat/get_spec.rb
229
+ - spec/lib/zoom/actions/im/chat/list_spec.rb
230
+ - spec/lib/zoom/actions/im/group/create_spec.rb
231
+ - spec/lib/zoom/actions/im/group/delete_spec.rb
232
+ - spec/lib/zoom/actions/im/group/edit_spec.rb
233
+ - spec/lib/zoom/actions/im/group/get_spec.rb
234
+ - spec/lib/zoom/actions/im/group/list_spec.rb
235
+ - spec/lib/zoom/actions/im/group/member/add_spec.rb
236
+ - spec/lib/zoom/actions/im/group/member/delete_spec.rb
237
+ - spec/lib/zoom/actions/im/group/member/list_spec.rb
238
+ - spec/lib/zoom/actions/m323/device/create_spec.rb
239
+ - spec/lib/zoom/actions/m323/device/delete_spec.rb
240
+ - spec/lib/zoom/actions/m323/device/list_spec.rb
241
+ - spec/lib/zoom/actions/m323/device/update_spec.rb
242
+ - spec/lib/zoom/actions/ma/account/billing_update_spec.rb
243
+ - spec/lib/zoom/actions/ma/account/create_spec.rb
244
+ - spec/lib/zoom/actions/ma/account/delete_spec.rb
245
+ - spec/lib/zoom/actions/ma/account/get_spec.rb
246
+ - spec/lib/zoom/actions/ma/account/list_spec.rb
247
+ - spec/lib/zoom/actions/ma/account/plan/add_spec.rb
248
+ - spec/lib/zoom/actions/ma/account/plan/get_spec.rb
249
+ - spec/lib/zoom/actions/ma/account/plan/subscribe_spec.rb
250
+ - spec/lib/zoom/actions/ma/account/plan/update_spec.rb
251
+ - spec/lib/zoom/actions/meeting/create_spec.rb
252
+ - spec/lib/zoom/actions/meeting/delete_spec.rb
253
+ - spec/lib/zoom/actions/meeting/end_spec.rb
254
+ - spec/lib/zoom/actions/meeting/get_spec.rb
255
+ - spec/lib/zoom/actions/meeting/list_spec.rb
256
+ - spec/lib/zoom/actions/meeting/live_spec.rb
257
+ - spec/lib/zoom/actions/meeting/register_spec.rb
258
+ - spec/lib/zoom/actions/meeting/update_spec.rb
259
+ - spec/lib/zoom/actions/metrics/crc_spec.rb
260
+ - spec/lib/zoom/actions/metrics/im_spec.rb
261
+ - spec/lib/zoom/actions/metrics/meetingdetail_spec.rb
262
+ - spec/lib/zoom/actions/metrics/meetings_spec.rb
263
+ - spec/lib/zoom/actions/metrics/qos_spec.rb
264
+ - spec/lib/zoom/actions/metrics/webinardetail_spec.rb
265
+ - spec/lib/zoom/actions/metrics/webinars_spec.rb
266
+ - spec/lib/zoom/actions/metrics/zoomroomdetail_spec.rb
267
+ - spec/lib/zoom/actions/metrics/zoomrooms_spec.rb
268
+ - spec/lib/zoom/actions/recording/delete_spec.rb
269
+ - spec/lib/zoom/actions/recording/get_spec.rb
270
+ - spec/lib/zoom/actions/recording/list_spec.rb
271
+ - spec/lib/zoom/actions/recording/mc_list_spec.rb
272
+ - spec/lib/zoom/actions/report/getaccountreport_spec.rb
273
+ - spec/lib/zoom/actions/report/getaudioreport_spec.rb
274
+ - spec/lib/zoom/actions/report/getdailyreport_spec.rb
275
+ - spec/lib/zoom/actions/report/getuserreport_spec.rb
276
+ - spec/lib/zoom/actions/user/activate_spec.rb
277
+ - spec/lib/zoom/actions/user/assistant/delete_spec.rb
278
+ - spec/lib/zoom/actions/user/assistant/set_spec.rb
279
+ - spec/lib/zoom/actions/user/autocreate2_spec.rb
280
+ - spec/lib/zoom/actions/user/autocreate_spec.rb
281
+ - spec/lib/zoom/actions/user/checkemail_spec.rb
282
+ - spec/lib/zoom/actions/user/checkzpk_spec.rb
283
+ - spec/lib/zoom/actions/user/create_spec.rb
284
+ - spec/lib/zoom/actions/user/custcreate_spec.rb
285
+ - spec/lib/zoom/actions/user/deactivate_spec.rb
286
+ - spec/lib/zoom/actions/user/delete_spec.rb
287
+ - spec/lib/zoom/actions/user/get_spec.rb
288
+ - spec/lib/zoom/actions/user/getbyemail_spec.rb
289
+ - spec/lib/zoom/actions/user/list_spec.rb
290
+ - spec/lib/zoom/actions/user/revoketoken_spec.rb
291
+ - spec/lib/zoom/actions/user/update_spec.rb
292
+ - spec/lib/zoom/actions/user/updatepassword_spec.rb
293
+ - spec/lib/zoom/actions/webinar/attendees_list_spec.rb
294
+ - spec/lib/zoom/actions/webinar/create_spec.rb
295
+ - spec/lib/zoom/actions/webinar/delete_spec.rb
296
+ - spec/lib/zoom/actions/webinar/end_spec.rb
297
+ - spec/lib/zoom/actions/webinar/get_spec.rb
298
+ - spec/lib/zoom/actions/webinar/list_registration_spec.rb
299
+ - spec/lib/zoom/actions/webinar/list_spec.rb
300
+ - spec/lib/zoom/actions/webinar/panelists_spec.rb
301
+ - spec/lib/zoom/actions/webinar/polls_spec.rb
302
+ - spec/lib/zoom/actions/webinar/questions_spec.rb
303
+ - spec/lib/zoom/actions/webinar/register_spec.rb
304
+ - spec/lib/zoom/actions/webinar/registrants/add_spec.rb
305
+ - spec/lib/zoom/actions/webinar/registrants/approve_spec.rb
306
+ - spec/lib/zoom/actions/webinar/registrants/list_spec.rb
307
+ - spec/lib/zoom/actions/webinar/registration_cancel_spec.rb
308
+ - spec/lib/zoom/actions/webinar/registration_spec.rb
309
+ - spec/lib/zoom/actions/webinar/update_spec.rb
310
+ - spec/lib/zoom/actions/webinar/uuid_list_spec.rb
311
+ - spec/lib/zoom/client_spec.rb
312
+ - spec/lib/zoom/params_spec.rb
313
+ - spec/lib/zoom/utils_spec.rb
314
+ - spec/spec_helper.rb
315
+ - zoom_rb.gemspec
316
+ homepage: https://github.com/hintmedia/zoom_rb
317
+ licenses:
318
+ - MIT
319
+ metadata: {}
320
+ post_install_message:
321
+ rdoc_options: []
322
+ require_paths:
323
+ - lib
324
+ required_ruby_version: !ruby/object:Gem::Requirement
325
+ requirements:
326
+ - - ">="
327
+ - !ruby/object:Gem::Version
328
+ version: '0'
329
+ required_rubygems_version: !ruby/object:Gem::Requirement
330
+ requirements:
331
+ - - ">="
332
+ - !ruby/object:Gem::Version
333
+ version: '0'
334
+ requirements: []
335
+ rubyforge_project:
336
+ rubygems_version: 2.7.6
337
+ signing_key:
338
+ specification_version: 4
339
+ summary: zoom.us API wrapper
340
+ test_files:
341
+ - spec/fixtures/chat/get.json
342
+ - spec/fixtures/chat/list.json
343
+ - spec/fixtures/error/validation.json
344
+ - spec/fixtures/mc_recording_list.json
345
+ - spec/fixtures/meeting/create.json
346
+ - spec/fixtures/meeting/delete.json
347
+ - spec/fixtures/meeting/end.json
348
+ - spec/fixtures/meeting/get.json
349
+ - spec/fixtures/meeting/list.json
350
+ - spec/fixtures/meeting/live.json
351
+ - spec/fixtures/meeting/register.json
352
+ - spec/fixtures/meeting/update.json
353
+ - spec/fixtures/metrics_crc.json
354
+ - spec/fixtures/metrics_meetingdetail.json
355
+ - spec/fixtures/metrics_meetings.json
356
+ - spec/fixtures/recording_delete.json
357
+ - spec/fixtures/recording_get.json
358
+ - spec/fixtures/recording_list.json
359
+ - spec/fixtures/report/getaccountreport.json
360
+ - spec/fixtures/report/getaudioreport.json
361
+ - spec/fixtures/report/getdailyreport.json
362
+ - spec/fixtures/report/getuserreport.json
363
+ - spec/fixtures/report_getaccountreport.json
364
+ - spec/fixtures/report_getdailyreport.json
365
+ - spec/fixtures/report_getuserreport.json
366
+ - spec/fixtures/user/assistant/delete.json
367
+ - spec/fixtures/user/assistant/set.json
368
+ - spec/fixtures/user/autocreate.json
369
+ - spec/fixtures/user/autocreate2.json
370
+ - spec/fixtures/user/create.json
371
+ - spec/fixtures/user/custcreate.json
372
+ - spec/fixtures/user/delete.json
373
+ - spec/fixtures/user/get.json
374
+ - spec/fixtures/user/getbyemail.json
375
+ - spec/fixtures/user/list.json
376
+ - spec/fixtures/user/pending.json
377
+ - spec/fixtures/user/permanent_delete.json
378
+ - spec/fixtures/user/update.json
379
+ - spec/fixtures/webinar/create.json
380
+ - spec/fixtures/webinar/delete.json
381
+ - spec/fixtures/webinar/list.json
382
+ - spec/fixtures/webinar/registrant/add.json
383
+ - spec/fixtures/webinar/registrant/list.json
384
+ - spec/fixtures/webinar/update.json
385
+ - spec/fixtures/webinar_delete.json
386
+ - spec/fixtures/webinar_end.json
387
+ - spec/fixtures/webinar_get.json
388
+ - spec/fixtures/webinar_update.json
389
+ - spec/lib/zoom/actions/group/create_spec.rb
390
+ - spec/lib/zoom/actions/group/delete_spec.rb
391
+ - spec/lib/zoom/actions/group/edit_spec.rb
392
+ - spec/lib/zoom/actions/group/get_spec.rb
393
+ - spec/lib/zoom/actions/group/list_spec.rb
394
+ - spec/lib/zoom/actions/group/member/add_spec.rb
395
+ - spec/lib/zoom/actions/group/member/delete_spec.rb
396
+ - spec/lib/zoom/actions/group/member/list_spec.rb
397
+ - spec/lib/zoom/actions/im/chat/get_spec.rb
398
+ - spec/lib/zoom/actions/im/chat/list_spec.rb
399
+ - spec/lib/zoom/actions/im/group/create_spec.rb
400
+ - spec/lib/zoom/actions/im/group/delete_spec.rb
401
+ - spec/lib/zoom/actions/im/group/edit_spec.rb
402
+ - spec/lib/zoom/actions/im/group/get_spec.rb
403
+ - spec/lib/zoom/actions/im/group/list_spec.rb
404
+ - spec/lib/zoom/actions/im/group/member/add_spec.rb
405
+ - spec/lib/zoom/actions/im/group/member/delete_spec.rb
406
+ - spec/lib/zoom/actions/im/group/member/list_spec.rb
407
+ - spec/lib/zoom/actions/m323/device/create_spec.rb
408
+ - spec/lib/zoom/actions/m323/device/delete_spec.rb
409
+ - spec/lib/zoom/actions/m323/device/list_spec.rb
410
+ - spec/lib/zoom/actions/m323/device/update_spec.rb
411
+ - spec/lib/zoom/actions/ma/account/billing_update_spec.rb
412
+ - spec/lib/zoom/actions/ma/account/create_spec.rb
413
+ - spec/lib/zoom/actions/ma/account/delete_spec.rb
414
+ - spec/lib/zoom/actions/ma/account/get_spec.rb
415
+ - spec/lib/zoom/actions/ma/account/list_spec.rb
416
+ - spec/lib/zoom/actions/ma/account/plan/add_spec.rb
417
+ - spec/lib/zoom/actions/ma/account/plan/get_spec.rb
418
+ - spec/lib/zoom/actions/ma/account/plan/subscribe_spec.rb
419
+ - spec/lib/zoom/actions/ma/account/plan/update_spec.rb
420
+ - spec/lib/zoom/actions/meeting/create_spec.rb
421
+ - spec/lib/zoom/actions/meeting/delete_spec.rb
422
+ - spec/lib/zoom/actions/meeting/end_spec.rb
423
+ - spec/lib/zoom/actions/meeting/get_spec.rb
424
+ - spec/lib/zoom/actions/meeting/list_spec.rb
425
+ - spec/lib/zoom/actions/meeting/live_spec.rb
426
+ - spec/lib/zoom/actions/meeting/register_spec.rb
427
+ - spec/lib/zoom/actions/meeting/update_spec.rb
428
+ - spec/lib/zoom/actions/metrics/crc_spec.rb
429
+ - spec/lib/zoom/actions/metrics/im_spec.rb
430
+ - spec/lib/zoom/actions/metrics/meetingdetail_spec.rb
431
+ - spec/lib/zoom/actions/metrics/meetings_spec.rb
432
+ - spec/lib/zoom/actions/metrics/qos_spec.rb
433
+ - spec/lib/zoom/actions/metrics/webinardetail_spec.rb
434
+ - spec/lib/zoom/actions/metrics/webinars_spec.rb
435
+ - spec/lib/zoom/actions/metrics/zoomroomdetail_spec.rb
436
+ - spec/lib/zoom/actions/metrics/zoomrooms_spec.rb
437
+ - spec/lib/zoom/actions/recording/delete_spec.rb
438
+ - spec/lib/zoom/actions/recording/get_spec.rb
439
+ - spec/lib/zoom/actions/recording/list_spec.rb
440
+ - spec/lib/zoom/actions/recording/mc_list_spec.rb
441
+ - spec/lib/zoom/actions/report/getaccountreport_spec.rb
442
+ - spec/lib/zoom/actions/report/getaudioreport_spec.rb
443
+ - spec/lib/zoom/actions/report/getdailyreport_spec.rb
444
+ - spec/lib/zoom/actions/report/getuserreport_spec.rb
445
+ - spec/lib/zoom/actions/user/activate_spec.rb
446
+ - spec/lib/zoom/actions/user/assistant/delete_spec.rb
447
+ - spec/lib/zoom/actions/user/assistant/set_spec.rb
448
+ - spec/lib/zoom/actions/user/autocreate2_spec.rb
449
+ - spec/lib/zoom/actions/user/autocreate_spec.rb
450
+ - spec/lib/zoom/actions/user/checkemail_spec.rb
451
+ - spec/lib/zoom/actions/user/checkzpk_spec.rb
452
+ - spec/lib/zoom/actions/user/create_spec.rb
453
+ - spec/lib/zoom/actions/user/custcreate_spec.rb
454
+ - spec/lib/zoom/actions/user/deactivate_spec.rb
455
+ - spec/lib/zoom/actions/user/delete_spec.rb
456
+ - spec/lib/zoom/actions/user/get_spec.rb
457
+ - spec/lib/zoom/actions/user/getbyemail_spec.rb
458
+ - spec/lib/zoom/actions/user/list_spec.rb
459
+ - spec/lib/zoom/actions/user/revoketoken_spec.rb
460
+ - spec/lib/zoom/actions/user/update_spec.rb
461
+ - spec/lib/zoom/actions/user/updatepassword_spec.rb
462
+ - spec/lib/zoom/actions/webinar/attendees_list_spec.rb
463
+ - spec/lib/zoom/actions/webinar/create_spec.rb
464
+ - spec/lib/zoom/actions/webinar/delete_spec.rb
465
+ - spec/lib/zoom/actions/webinar/end_spec.rb
466
+ - spec/lib/zoom/actions/webinar/get_spec.rb
467
+ - spec/lib/zoom/actions/webinar/list_registration_spec.rb
468
+ - spec/lib/zoom/actions/webinar/list_spec.rb
469
+ - spec/lib/zoom/actions/webinar/panelists_spec.rb
470
+ - spec/lib/zoom/actions/webinar/polls_spec.rb
471
+ - spec/lib/zoom/actions/webinar/questions_spec.rb
472
+ - spec/lib/zoom/actions/webinar/register_spec.rb
473
+ - spec/lib/zoom/actions/webinar/registrants/add_spec.rb
474
+ - spec/lib/zoom/actions/webinar/registrants/approve_spec.rb
475
+ - spec/lib/zoom/actions/webinar/registrants/list_spec.rb
476
+ - spec/lib/zoom/actions/webinar/registration_cancel_spec.rb
477
+ - spec/lib/zoom/actions/webinar/registration_spec.rb
478
+ - spec/lib/zoom/actions/webinar/update_spec.rb
479
+ - spec/lib/zoom/actions/webinar/uuid_list_spec.rb
480
+ - spec/lib/zoom/client_spec.rb
481
+ - spec/lib/zoom/params_spec.rb
482
+ - spec/lib/zoom/utils_spec.rb
483
+ - spec/spec_helper.rb