zoom_rb 0.11.0 → 1.0.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +38 -0
- data/Gemfile.lock +6 -6
- data/README.md +0 -4
- data/lib/zoom/actions/account.rb +18 -51
- data/lib/zoom/actions/billing.rb +30 -27
- data/lib/zoom/actions/dashboard.rb +11 -22
- data/lib/zoom/actions/groups.rb +11 -9
- data/lib/zoom/actions/im/chat.rb +11 -24
- data/lib/zoom/actions/meeting.rb +34 -67
- data/lib/zoom/actions/phone.rb +5 -17
- data/lib/zoom/actions/recording.rb +8 -26
- data/lib/zoom/actions/report.rb +10 -20
- data/lib/zoom/actions/roles.rb +11 -28
- data/lib/zoom/actions/sip_audio.rb +16 -57
- data/lib/zoom/actions/token.rb +15 -24
- data/lib/zoom/actions/user.rb +65 -123
- data/lib/zoom/actions/webinar.rb +37 -77
- data/lib/zoom/actions.rb +49 -0
- data/lib/zoom/utils.rb +10 -7
- data/lib/zoom/version.rb +1 -1
- data/lib/zoom_rb.rb +1 -0
- data/spec/fixtures/error/admin_cannot_activated.json +4 -0
- data/spec/fixtures/error/group_not_exist.json +4 -0
- data/spec/fixtures/error/not_found_administrator.json +4 -0
- data/spec/fixtures/groups/create.json +5 -0
- data/spec/fixtures/groups/update.json +0 -0
- data/spec/fixtures/user/update_email.json +0 -0
- data/spec/fixtures/user/update_status.json +0 -0
- data/spec/lib/zoom/actions/groups/create_spec.rb +96 -1
- data/spec/lib/zoom/actions/groups/update_spec.rb +59 -0
- data/spec/lib/zoom/actions/meeting/create_spec.rb +1 -1
- data/spec/lib/zoom/actions/user/create_spec.rb +18 -46
- data/spec/lib/zoom/actions/user/update_email_spec.rb +59 -0
- data/spec/lib/zoom/actions/user/update_status_spec.rb +59 -0
- data/spec/lib/zoom/actions_spec.rb +84 -0
- data/spec/lib/zoom/utils_spec.rb +1 -1
- metadata +29 -6
File without changes
|
File without changes
|
File without changes
|
@@ -1,3 +1,98 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'spec_helper'
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
describe Zoom::Actions::Groups do
|
6
|
+
let(:zc) { zoom_client }
|
7
|
+
let(:args) { { name: 'Zoom Group Name' } }
|
8
|
+
let(:response) { zc.group_create(args) }
|
9
|
+
|
10
|
+
describe '#group_create action' do
|
11
|
+
context 'with 201 response' do
|
12
|
+
before :each do
|
13
|
+
stub_request(
|
14
|
+
:post,
|
15
|
+
zoom_url("/groups")
|
16
|
+
).to_return(
|
17
|
+
status: 201,
|
18
|
+
body: json_response('groups','create'),
|
19
|
+
headers: { 'Content-Type' => 'application/json' }
|
20
|
+
)
|
21
|
+
end
|
22
|
+
|
23
|
+
it 'returns a hash' do
|
24
|
+
expect(response).to be_kind_of(Hash)
|
25
|
+
end
|
26
|
+
|
27
|
+
it 'returns the set params' do
|
28
|
+
expect(response['name']).to eq(args[:name])
|
29
|
+
end
|
30
|
+
|
31
|
+
it "returns 'start_url' and 'join_url'" do
|
32
|
+
expect(response['name']).to_not be_nil
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
context 'with 409 response' do
|
37
|
+
before :each do
|
38
|
+
stub_request(
|
39
|
+
:post,
|
40
|
+
zoom_url("/groups")
|
41
|
+
).to_return(status: 409,
|
42
|
+
body: '{ "code": 409, "message": "Group name Zoom Group Name is already in use." }',
|
43
|
+
headers: { 'Content-Type' => 'application/json' })
|
44
|
+
end
|
45
|
+
|
46
|
+
it 'raises an error' do
|
47
|
+
expect { response }.to raise_error(Zoom::Error)
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
context 'with 429 response' do
|
52
|
+
before :each do
|
53
|
+
stub_request(
|
54
|
+
:post,
|
55
|
+
zoom_url("/groups")
|
56
|
+
).to_return(status: 429,
|
57
|
+
body: '{ "code": 429, "message": "You have exceeded the daily rate limit (1) of Create a Group API request for this account. This limit resets at GMT 00:00:00." }',
|
58
|
+
headers: { 'Content-Type' => 'application/json' })
|
59
|
+
end
|
60
|
+
|
61
|
+
it 'raises an error' do
|
62
|
+
expect { response }.to raise_error(Zoom::Error)
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
context 'with 300 response' do
|
67
|
+
before :each do
|
68
|
+
stub_request(
|
69
|
+
:post,
|
70
|
+
zoom_url("/groups")
|
71
|
+
).to_return(status: 300,
|
72
|
+
body: '{ "code": 300, "message": "Missing field: name." }',
|
73
|
+
headers: { 'Content-Type' => 'application/json' })
|
74
|
+
end
|
75
|
+
|
76
|
+
it 'raises an error' do
|
77
|
+
expect { response }.to raise_error(Zoom::Error)
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
context 'with 404 response' do
|
82
|
+
before :each do
|
83
|
+
stub_request(
|
84
|
+
:post,
|
85
|
+
zoom_url("/groups")
|
86
|
+
).to_return(
|
87
|
+
status: 404,
|
88
|
+
body: json_response('error', 'group_not_exist'),
|
89
|
+
headers: { 'Content-Type' => 'application/json' }
|
90
|
+
)
|
91
|
+
end
|
92
|
+
|
93
|
+
it 'raises an error' do
|
94
|
+
expect { response }.to raise_error(Zoom::Error)
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
describe Zoom::Actions::Groups do
|
6
|
+
let(:zc) { zoom_client }
|
7
|
+
let(:args) { { group_id: '555' } }
|
8
|
+
|
9
|
+
describe '#group_update' do
|
10
|
+
context 'with a valid response' do
|
11
|
+
before :each do
|
12
|
+
stub_request(
|
13
|
+
:patch,
|
14
|
+
zoom_url("/groups/#{args[:group_id]}")
|
15
|
+
).to_return(status: 204,
|
16
|
+
body: json_response('groups', 'update'),
|
17
|
+
headers: { 'Content-Type' => 'application/json' })
|
18
|
+
end
|
19
|
+
|
20
|
+
it 'requires id param' do
|
21
|
+
expect { zc.group_update(filter_key(args, :group_id)) }.to raise_error(Zoom::ParameterMissing, [:group_id].to_s)
|
22
|
+
end
|
23
|
+
|
24
|
+
it 'returns the http status code as a number' do
|
25
|
+
expect(zc.group_update(args)).to eql(204)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
context 'with a 404 response' do
|
30
|
+
before :each do
|
31
|
+
stub_request(
|
32
|
+
:patch,
|
33
|
+
zoom_url("/groups/#{args[:group_id]}")
|
34
|
+
).to_return(status: 404,
|
35
|
+
body: json_response('error', 'group_not_exist'),
|
36
|
+
headers: { 'Content-Type' => 'application/json' })
|
37
|
+
end
|
38
|
+
|
39
|
+
it 'raises an error' do
|
40
|
+
expect { zc.group_update(args) }.to raise_error(Zoom::Error)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
context 'with 409 response' do
|
45
|
+
before :each do
|
46
|
+
stub_request(
|
47
|
+
:patch,
|
48
|
+
zoom_url("/groups/#{args[:group_id]}")
|
49
|
+
).to_return(status: 409,
|
50
|
+
body: '{ "code": 409, "message": "Group name Zoom Group Name is already in use." }',
|
51
|
+
headers: { 'Content-Type' => 'application/json' })
|
52
|
+
end
|
53
|
+
|
54
|
+
it 'raises an error' do
|
55
|
+
expect { zc.group_update(args) }.to raise_error(Zoom::Error)
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -4,7 +4,7 @@ require 'spec_helper'
|
|
4
4
|
|
5
5
|
describe Zoom::Actions::Meeting do
|
6
6
|
let(:zc) { zoom_client }
|
7
|
-
let(:args) { { topic: 'Zoom Meeting Topic', start_time: '2020-05-05T21:00:00Z', timezone: 'America/New_York', duration: 30, type: 2, user_id: 'r55v2FgSTVmDmVot18DX3A' } }
|
7
|
+
let(:args) { { topic: 'Zoom Meeting Topic', start_time: '2020-05-05T21:00:00Z', timezone: 'America/New_York', duration: 30, type: 2, user_id: 'r55v2FgSTVmDmVot18DX3A', template_id: 'template_id' } }
|
8
8
|
let(:response) { zc.meeting_create(args) }
|
9
9
|
|
10
10
|
describe '#meeting_create action' do
|
@@ -5,12 +5,16 @@ require 'spec_helper'
|
|
5
5
|
describe Zoom::Actions::User do
|
6
6
|
let(:zc) { zoom_client }
|
7
7
|
let(:args) do
|
8
|
-
{
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
8
|
+
{
|
9
|
+
action: 'create',
|
10
|
+
user_info: {
|
11
|
+
email: 'foo@bar.com',
|
12
|
+
type: 1,
|
13
|
+
first_name: 'Zoomie',
|
14
|
+
last_name: 'Userton',
|
15
|
+
password: 'testerino'
|
16
|
+
}
|
17
|
+
}
|
14
18
|
end
|
15
19
|
|
16
20
|
describe '#user_create' do
|
@@ -28,46 +32,14 @@ describe Zoom::Actions::User do
|
|
28
32
|
expect { zc.user_create(filter_key(args, :action)) }.to raise_error(Zoom::ParameterMissing, [:action].to_s)
|
29
33
|
end
|
30
34
|
|
31
|
-
it 'does not raise an error when action is create' do
|
32
|
-
args[:action] = 'create'
|
33
|
-
expect { zc.user_create(args) }.not_to raise_error
|
34
|
-
end
|
35
|
-
|
36
|
-
it 'does not raise an error when action is custCreate' do
|
37
|
-
args[:action] = 'custCreate'
|
38
|
-
expect { zc.user_create(args) }.not_to raise_error
|
39
|
-
end
|
40
|
-
|
41
|
-
it 'does not raise an error when action is autoCreate' do
|
42
|
-
args[:action] = 'autoCreate'
|
43
|
-
expect { zc.user_create(args) }.not_to raise_error
|
44
|
-
end
|
45
|
-
|
46
|
-
it 'does not raise an error when action is ssoCreate' do
|
47
|
-
args[:action] = 'ssoCreate'
|
48
|
-
expect { zc.user_create(args) }.not_to raise_error
|
49
|
-
end
|
50
|
-
|
51
|
-
it 'requires valid action' do
|
52
|
-
args[:action] = 'baz'
|
53
|
-
expect { zc.user_create(args) }.to raise_error(Zoom::ParameterValueNotPermitted, "#{:action.to_s}: #{args[:action].to_s}")
|
54
|
-
end
|
55
|
-
|
56
35
|
it 'requires email param' do
|
57
|
-
|
36
|
+
args[:user_info].delete(:email)
|
37
|
+
expect { zc.user_create(args) }.to raise_error(Zoom::ParameterMissing, [{user_info: [:email]}].to_s)
|
58
38
|
end
|
59
39
|
|
60
40
|
it 'requires type param' do
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
it 'does not require password param when action is not autoCreate' do
|
65
|
-
expect { zc.user_create(filter_key(args, :password)) }.not_to raise_error
|
66
|
-
end
|
67
|
-
|
68
|
-
it 'requires password param when action is autoCreate' do
|
69
|
-
args[:action] = 'autoCreate'
|
70
|
-
expect { zc.user_create(filter_key(args, :password)) }.to raise_error(Zoom::ParameterMissing, [:password].to_s)
|
41
|
+
args[:user_info].delete(:type)
|
42
|
+
expect { zc.user_create(args) }.to raise_error(Zoom::ParameterMissing, [{user_info: [:type]}].to_s)
|
71
43
|
end
|
72
44
|
|
73
45
|
it 'returns a hash' do
|
@@ -77,10 +49,10 @@ describe Zoom::Actions::User do
|
|
77
49
|
it 'returns same params' do
|
78
50
|
res = zc.user_create(args)
|
79
51
|
|
80
|
-
expect(res['email']).to eq(args[:email])
|
81
|
-
expect(res['first_name']).to eq(args[:first_name])
|
82
|
-
expect(res['last_name']).to eq(args[:last_name])
|
83
|
-
expect(res['type']).to eq(args[:type])
|
52
|
+
expect(res['email']).to eq(args[:user_info][:email])
|
53
|
+
expect(res['first_name']).to eq(args[:user_info][:first_name])
|
54
|
+
expect(res['last_name']).to eq(args[:user_info][:last_name])
|
55
|
+
expect(res['type']).to eq(args[:user_info][:type])
|
84
56
|
end
|
85
57
|
end
|
86
58
|
|
@@ -0,0 +1,59 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
describe Zoom::Actions::User do
|
6
|
+
let(:zc) { zoom_client }
|
7
|
+
let(:args) { { id: 'eIimBAXqSrWOcB_EOIXTog', email: 'new.email@example.com' } }
|
8
|
+
|
9
|
+
describe '#user_email_update' do
|
10
|
+
context 'with a valid response' do
|
11
|
+
before :each do
|
12
|
+
stub_request(
|
13
|
+
:patch,
|
14
|
+
zoom_url("/users/#{args[:id]}/email")
|
15
|
+
).to_return(status: 204,
|
16
|
+
body: json_response('user', 'update_email'),
|
17
|
+
headers: { 'Content-Type' => 'application/json' })
|
18
|
+
end
|
19
|
+
|
20
|
+
it 'requires id param' do
|
21
|
+
expect { zc.user_email_update(filter_key(args, :id)) }.to raise_error(Zoom::ParameterMissing, [:id].to_s)
|
22
|
+
end
|
23
|
+
|
24
|
+
it 'returns the http status code as a number' do
|
25
|
+
expect(zc.user_email_update(args)).to eql(204)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
context 'with a 400 response' do
|
30
|
+
before :each do
|
31
|
+
stub_request(
|
32
|
+
:patch,
|
33
|
+
zoom_url("/users/#{args[:id]}/email")
|
34
|
+
).to_return(status: 400,
|
35
|
+
body: json_response('error', 'not_found_administrator'),
|
36
|
+
headers: { 'Content-Type' => 'application/json' })
|
37
|
+
end
|
38
|
+
|
39
|
+
it 'raises an error' do
|
40
|
+
expect { zc.user_email_update(args) }.to raise_error(Zoom::Error)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
context 'with a 404 response' do
|
45
|
+
before :each do
|
46
|
+
stub_request(
|
47
|
+
:patch,
|
48
|
+
zoom_url("/users/#{args[:id]}/email")
|
49
|
+
).to_return(status: 404,
|
50
|
+
body: json_response('error', 'user_not_exist'),
|
51
|
+
headers: { 'Content-Type' => 'application/json' })
|
52
|
+
end
|
53
|
+
|
54
|
+
it 'raises an error' do
|
55
|
+
expect { zc.user_email_update(args) }.to raise_error(Zoom::Error)
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
describe Zoom::Actions::User do
|
6
|
+
let(:zc) { zoom_client }
|
7
|
+
let(:args) { { id: 'eIimBAXqSrWOcB_EOIXTog', status: 'activate' } }
|
8
|
+
|
9
|
+
describe '#user_status_update' do
|
10
|
+
context 'with a valid response' do
|
11
|
+
before :each do
|
12
|
+
stub_request(
|
13
|
+
:patch,
|
14
|
+
zoom_url("/users/#{args[:id]}/status")
|
15
|
+
).to_return(status: 204,
|
16
|
+
body: json_response('user', 'update_status'),
|
17
|
+
headers: { 'Content-Type' => 'application/json' })
|
18
|
+
end
|
19
|
+
|
20
|
+
it 'requires id param' do
|
21
|
+
expect { zc.user_status_update(filter_key(args, :id)) }.to raise_error(Zoom::ParameterMissing, [:id].to_s)
|
22
|
+
end
|
23
|
+
|
24
|
+
it 'returns the http status code as a number' do
|
25
|
+
expect(zc.user_status_update(args)).to eql(204)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
context 'with a 400 response' do
|
30
|
+
before :each do
|
31
|
+
stub_request(
|
32
|
+
:patch,
|
33
|
+
zoom_url("/users/#{args[:id]}/status")
|
34
|
+
).to_return(status: 400,
|
35
|
+
body: json_response('error', 'admin_cannot_activated'),
|
36
|
+
headers: { 'Content-Type' => 'application/json' })
|
37
|
+
end
|
38
|
+
|
39
|
+
it 'raises an error' do
|
40
|
+
expect { zc.user_status_update(args) }.to raise_error(Zoom::Error)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
context 'with a 404 response' do
|
45
|
+
before :each do
|
46
|
+
stub_request(
|
47
|
+
:patch,
|
48
|
+
zoom_url("/users/#{args[:id]}/status")
|
49
|
+
).to_return(status: 404,
|
50
|
+
body: json_response('error', 'user_not_exist'),
|
51
|
+
headers: { 'Content-Type' => 'application/json' })
|
52
|
+
end
|
53
|
+
|
54
|
+
it 'raises an error' do
|
55
|
+
expect { zc.user_status_update(args) }.to raise_error(Zoom::Error)
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,84 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
describe Zoom::Actions do
|
6
|
+
let(:client) { Zoom::Client::OAuth.new(access_token: 'xxx', timeout: 15) }
|
7
|
+
let(:path) { '/:id/foo/:bar' }
|
8
|
+
let(:path_keys) { [:id, :bar] }
|
9
|
+
let(:params) { { id: 100, bar: 'baz' } }
|
10
|
+
let(:base_uri) { 'https://example.com' }
|
11
|
+
let(:parsed_path) { '/100/foo/baz' }
|
12
|
+
|
13
|
+
describe 'self.extract_path_keys' do
|
14
|
+
subject { described_class.extract_path_keys(path) }
|
15
|
+
|
16
|
+
it { is_expected.to match_array(path_keys) }
|
17
|
+
end
|
18
|
+
|
19
|
+
describe 'self.parse_path' do
|
20
|
+
subject { described_class.parse_path(path, path_keys, params) }
|
21
|
+
|
22
|
+
it { is_expected.to eq(parsed_path) }
|
23
|
+
end
|
24
|
+
|
25
|
+
describe 'self.make_request' do
|
26
|
+
subject { described_class.make_request(client, method, parsed_path, params, base_uri) }
|
27
|
+
|
28
|
+
let(:request_options) {
|
29
|
+
{
|
30
|
+
headers: client.request_headers,
|
31
|
+
base_uri: base_uri
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
context 'when get' do
|
36
|
+
let(:method) { :get }
|
37
|
+
|
38
|
+
it 'calls get method on client with get request_options' do
|
39
|
+
request_options[:query] = params
|
40
|
+
expect(client.class).to receive(method).with(parsed_path, **request_options)
|
41
|
+
subject
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
context 'when post' do
|
46
|
+
let(:method) { :post }
|
47
|
+
|
48
|
+
it 'calls post method on client with post request_options' do
|
49
|
+
request_options[:body] = params.to_json
|
50
|
+
expect(client.class).to receive(method).with(parsed_path, **request_options)
|
51
|
+
subject
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
context 'when put' do
|
56
|
+
let(:method) { :put }
|
57
|
+
|
58
|
+
it 'calls put method on client with put request_options' do
|
59
|
+
request_options[:body] = params.to_json
|
60
|
+
expect(client.class).to receive(method).with(parsed_path, **request_options)
|
61
|
+
subject
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
context 'when patch' do
|
66
|
+
let(:method) { :patch }
|
67
|
+
|
68
|
+
it 'calls patch method on client with patch request_options' do
|
69
|
+
request_options[:body] = params.to_json
|
70
|
+
expect(client.class).to receive(method).with(parsed_path, **request_options)
|
71
|
+
subject
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
context 'when delete' do
|
76
|
+
let(:method) { :delete }
|
77
|
+
|
78
|
+
it 'calls delete method on client with delete request_options' do
|
79
|
+
expect(client.class).to receive(method).with(parsed_path, **request_options)
|
80
|
+
subject
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
data/spec/lib/zoom/utils_spec.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zoom_rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyle Boe
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -151,6 +151,7 @@ files:
|
|
151
151
|
- LICENSE
|
152
152
|
- Makefile
|
153
153
|
- README.md
|
154
|
+
- lib/zoom/actions.rb
|
154
155
|
- lib/zoom/actions/account.rb
|
155
156
|
- lib/zoom/actions/billing.rb
|
156
157
|
- lib/zoom/actions/dashboard.rb
|
@@ -216,18 +217,23 @@ files:
|
|
216
217
|
- spec/fixtures/dashboard/meeting/detail.json
|
217
218
|
- spec/fixtures/dashboard/meeting/participants.json
|
218
219
|
- spec/fixtures/dashboard/meetings.json
|
220
|
+
- spec/fixtures/error/admin_cannot_activated.json
|
219
221
|
- spec/fixtures/error/already_exists.json
|
220
222
|
- spec/fixtures/error/channel_not_found.json
|
221
223
|
- spec/fixtures/error/group_does_not_exist.json
|
222
224
|
- spec/fixtures/error/group_not_belong_to_account.json
|
225
|
+
- spec/fixtures/error/group_not_exist.json
|
223
226
|
- spec/fixtures/error/meeting_not_exist.json
|
224
227
|
- spec/fixtures/error/next_page_token_invalid.json
|
225
228
|
- spec/fixtures/error/not_found.json
|
229
|
+
- spec/fixtures/error/not_found_administrator.json
|
226
230
|
- spec/fixtures/error/unauthorized_request.json
|
227
231
|
- spec/fixtures/error/user_not_exist.json
|
228
232
|
- spec/fixtures/error/validation.json
|
233
|
+
- spec/fixtures/groups/create.json
|
229
234
|
- spec/fixtures/groups/get.json
|
230
235
|
- spec/fixtures/groups/list.json
|
236
|
+
- spec/fixtures/groups/update.json
|
231
237
|
- spec/fixtures/mc_recording_list.json
|
232
238
|
- spec/fixtures/meeting/add_registrant.json
|
233
239
|
- spec/fixtures/meeting/create.json
|
@@ -280,7 +286,9 @@ files:
|
|
280
286
|
- spec/fixtures/user/settings_get.json
|
281
287
|
- spec/fixtures/user/token.json
|
282
288
|
- spec/fixtures/user/update.json
|
289
|
+
- spec/fixtures/user/update_email.json
|
283
290
|
- spec/fixtures/user/update_password.json
|
291
|
+
- spec/fixtures/user/update_status.json
|
284
292
|
- spec/fixtures/user/vanity_name.json
|
285
293
|
- spec/fixtures/webinar/create.json
|
286
294
|
- spec/fixtures/webinar/delete.json
|
@@ -324,6 +332,7 @@ files:
|
|
324
332
|
- spec/lib/zoom/actions/groups/member/add_spec.rb
|
325
333
|
- spec/lib/zoom/actions/groups/member/delete_spec.rb
|
326
334
|
- spec/lib/zoom/actions/groups/member/list_spec.rb
|
335
|
+
- spec/lib/zoom/actions/groups/update_spec.rb
|
327
336
|
- spec/lib/zoom/actions/im/chat/channels/get_spec.rb
|
328
337
|
- spec/lib/zoom/actions/im/chat/get_spec.rb
|
329
338
|
- spec/lib/zoom/actions/im/chat/list_spec.rb
|
@@ -408,8 +417,10 @@ files:
|
|
408
417
|
- spec/lib/zoom/actions/user/settings_get_spec.rb
|
409
418
|
- spec/lib/zoom/actions/user/settings_update_spec.rb
|
410
419
|
- spec/lib/zoom/actions/user/token_spec.rb
|
420
|
+
- spec/lib/zoom/actions/user/update_email_spec.rb
|
411
421
|
- spec/lib/zoom/actions/user/update_password_spec.rb
|
412
422
|
- spec/lib/zoom/actions/user/update_spec.rb
|
423
|
+
- spec/lib/zoom/actions/user/update_status_spec.rb
|
413
424
|
- spec/lib/zoom/actions/user/vanity_name_spec.rb
|
414
425
|
- spec/lib/zoom/actions/webinar/attendees_list_spec.rb
|
415
426
|
- spec/lib/zoom/actions/webinar/create_spec.rb
|
@@ -432,6 +443,7 @@ files:
|
|
432
443
|
- spec/lib/zoom/actions/webinar/registration_spec.rb
|
433
444
|
- spec/lib/zoom/actions/webinar/update_spec.rb
|
434
445
|
- spec/lib/zoom/actions/webinar/uuid_list_spec.rb
|
446
|
+
- spec/lib/zoom/actions_spec.rb
|
435
447
|
- spec/lib/zoom/client_spec.rb
|
436
448
|
- spec/lib/zoom/params_spec.rb
|
437
449
|
- spec/lib/zoom/utils_spec.rb
|
@@ -441,7 +453,7 @@ homepage: https://github.com/hintmedia/zoom_rb
|
|
441
453
|
licenses:
|
442
454
|
- MIT
|
443
455
|
metadata: {}
|
444
|
-
post_install_message:
|
456
|
+
post_install_message:
|
445
457
|
rdoc_options: []
|
446
458
|
require_paths:
|
447
459
|
- lib
|
@@ -456,8 +468,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
456
468
|
- !ruby/object:Gem::Version
|
457
469
|
version: '0'
|
458
470
|
requirements: []
|
459
|
-
rubygems_version: 3.
|
460
|
-
signing_key:
|
471
|
+
rubygems_version: 3.2.32
|
472
|
+
signing_key:
|
461
473
|
specification_version: 4
|
462
474
|
summary: zoom.us API wrapper
|
463
475
|
test_files:
|
@@ -483,18 +495,23 @@ test_files:
|
|
483
495
|
- spec/fixtures/dashboard/meeting/detail.json
|
484
496
|
- spec/fixtures/dashboard/meeting/participants.json
|
485
497
|
- spec/fixtures/dashboard/meetings.json
|
498
|
+
- spec/fixtures/error/admin_cannot_activated.json
|
486
499
|
- spec/fixtures/error/already_exists.json
|
487
500
|
- spec/fixtures/error/channel_not_found.json
|
488
501
|
- spec/fixtures/error/group_does_not_exist.json
|
489
502
|
- spec/fixtures/error/group_not_belong_to_account.json
|
503
|
+
- spec/fixtures/error/group_not_exist.json
|
490
504
|
- spec/fixtures/error/meeting_not_exist.json
|
491
505
|
- spec/fixtures/error/next_page_token_invalid.json
|
492
506
|
- spec/fixtures/error/not_found.json
|
507
|
+
- spec/fixtures/error/not_found_administrator.json
|
493
508
|
- spec/fixtures/error/unauthorized_request.json
|
494
509
|
- spec/fixtures/error/user_not_exist.json
|
495
510
|
- spec/fixtures/error/validation.json
|
511
|
+
- spec/fixtures/groups/create.json
|
496
512
|
- spec/fixtures/groups/get.json
|
497
513
|
- spec/fixtures/groups/list.json
|
514
|
+
- spec/fixtures/groups/update.json
|
498
515
|
- spec/fixtures/mc_recording_list.json
|
499
516
|
- spec/fixtures/meeting/add_registrant.json
|
500
517
|
- spec/fixtures/meeting/create.json
|
@@ -547,7 +564,9 @@ test_files:
|
|
547
564
|
- spec/fixtures/user/settings_get.json
|
548
565
|
- spec/fixtures/user/token.json
|
549
566
|
- spec/fixtures/user/update.json
|
567
|
+
- spec/fixtures/user/update_email.json
|
550
568
|
- spec/fixtures/user/update_password.json
|
569
|
+
- spec/fixtures/user/update_status.json
|
551
570
|
- spec/fixtures/user/vanity_name.json
|
552
571
|
- spec/fixtures/webinar/create.json
|
553
572
|
- spec/fixtures/webinar/delete.json
|
@@ -591,6 +610,7 @@ test_files:
|
|
591
610
|
- spec/lib/zoom/actions/groups/member/add_spec.rb
|
592
611
|
- spec/lib/zoom/actions/groups/member/delete_spec.rb
|
593
612
|
- spec/lib/zoom/actions/groups/member/list_spec.rb
|
613
|
+
- spec/lib/zoom/actions/groups/update_spec.rb
|
594
614
|
- spec/lib/zoom/actions/im/chat/channels/get_spec.rb
|
595
615
|
- spec/lib/zoom/actions/im/chat/get_spec.rb
|
596
616
|
- spec/lib/zoom/actions/im/chat/list_spec.rb
|
@@ -675,8 +695,10 @@ test_files:
|
|
675
695
|
- spec/lib/zoom/actions/user/settings_get_spec.rb
|
676
696
|
- spec/lib/zoom/actions/user/settings_update_spec.rb
|
677
697
|
- spec/lib/zoom/actions/user/token_spec.rb
|
698
|
+
- spec/lib/zoom/actions/user/update_email_spec.rb
|
678
699
|
- spec/lib/zoom/actions/user/update_password_spec.rb
|
679
700
|
- spec/lib/zoom/actions/user/update_spec.rb
|
701
|
+
- spec/lib/zoom/actions/user/update_status_spec.rb
|
680
702
|
- spec/lib/zoom/actions/user/vanity_name_spec.rb
|
681
703
|
- spec/lib/zoom/actions/webinar/attendees_list_spec.rb
|
682
704
|
- spec/lib/zoom/actions/webinar/create_spec.rb
|
@@ -699,6 +721,7 @@ test_files:
|
|
699
721
|
- spec/lib/zoom/actions/webinar/registration_spec.rb
|
700
722
|
- spec/lib/zoom/actions/webinar/update_spec.rb
|
701
723
|
- spec/lib/zoom/actions/webinar/uuid_list_spec.rb
|
724
|
+
- spec/lib/zoom/actions_spec.rb
|
702
725
|
- spec/lib/zoom/client_spec.rb
|
703
726
|
- spec/lib/zoom/params_spec.rb
|
704
727
|
- spec/lib/zoom/utils_spec.rb
|