clickmeetings 0.1.3.1 → 0.1.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.travis.yml +1 -1
  4. data/README.md +303 -7
  5. data/clickmeetings.gemspec +5 -3
  6. data/lib/clickmeetings.rb +6 -8
  7. data/lib/clickmeetings/client.rb +7 -8
  8. data/lib/clickmeetings/config.rb +2 -1
  9. data/lib/clickmeetings/engine.rb +0 -1
  10. data/lib/clickmeetings/model.rb +29 -19
  11. data/lib/clickmeetings/models/open/chat.rb +19 -0
  12. data/lib/clickmeetings/models/open/concerns/with_conference.rb +35 -0
  13. data/lib/clickmeetings/models/open/concerns/with_locale.rb +20 -0
  14. data/lib/clickmeetings/models/open/conference.rb +72 -0
  15. data/lib/clickmeetings/models/open/contact.rb +14 -0
  16. data/lib/clickmeetings/models/open/file_library.rb +43 -0
  17. data/lib/clickmeetings/models/open/invitation.rb +30 -0
  18. data/lib/clickmeetings/models/open/login_hash.rb +50 -0
  19. data/lib/clickmeetings/models/open/model.rb +38 -0
  20. data/lib/clickmeetings/models/open/phone_gateway.rb +9 -0
  21. data/lib/clickmeetings/models/open/recording.rb +22 -0
  22. data/lib/clickmeetings/models/open/registration.rb +20 -0
  23. data/lib/clickmeetings/models/open/session.rb +56 -0
  24. data/lib/clickmeetings/models/open/time_zone.rb +15 -0
  25. data/lib/clickmeetings/models/open/token.rb +35 -0
  26. data/lib/clickmeetings/models/privatelabel/account.rb +3 -1
  27. data/lib/clickmeetings/models/privatelabel/conference.rb +20 -11
  28. data/lib/clickmeetings/models/privatelabel/model.rb +5 -4
  29. data/lib/clickmeetings/models/privatelabel/profile.rb +2 -2
  30. data/lib/clickmeetings/storage.rb +10 -0
  31. data/lib/clickmeetings/version.rb +1 -1
  32. data/spec/clickmeetings_spec.rb +46 -0
  33. data/spec/client_spec.rb +27 -4
  34. data/spec/fixtures/delete_conferences_1_recordings.json +3 -0
  35. data/spec/fixtures/get_chats_1.zip +0 -0
  36. data/spec/fixtures/get_conferences.json +48 -0
  37. data/spec/fixtures/get_conferences_1.json +45 -0
  38. data/spec/fixtures/get_conferences_1_recordings.json +10 -0
  39. data/spec/fixtures/get_conferences_1_registrations.json +42 -0
  40. data/spec/fixtures/get_conferences_1_sessions.json +16 -0
  41. data/spec/fixtures/get_conferences_1_sessions_1.json +54 -0
  42. data/spec/fixtures/get_conferences_1_sessions_1_attendees.json +38 -0
  43. data/spec/fixtures/get_conferences_1_sessions_1_generate-pdf_en.json +4 -0
  44. data/spec/fixtures/get_conferences_1_sessions_1_generate-pdf_pl.json +5 -0
  45. data/spec/fixtures/get_conferences_1_sessions_1_generate-pdf_ru.json +4 -0
  46. data/spec/fixtures/get_conferences_1_sessions_1_registrations.json +42 -0
  47. data/spec/fixtures/get_conferences_1_tokens.json +254 -0
  48. data/spec/fixtures/get_conferences_2.json +45 -0
  49. data/spec/fixtures/get_conferences_active.json +1 -0
  50. data/spec/fixtures/get_conferences_inactive.json +1 -0
  51. data/spec/fixtures/get_conferences_skins.json +57 -0
  52. data/spec/fixtures/get_file-library_conferences_1.json +13 -0
  53. data/spec/fixtures/get_time_zone_list.json +422 -0
  54. data/spec/fixtures/get_time_zone_list_ru.json +26 -0
  55. data/spec/fixtures/post_conferences_1_invitation_email_en.json +1 -0
  56. data/spec/fixtures/post_conferences_1_invitation_email_ru.json +1 -0
  57. data/spec/fixtures/post_conferences_1_registration.json +6 -0
  58. data/spec/fixtures/post_conferences_1_room_autologin_hash.json +3 -0
  59. data/spec/fixtures/post_conferences_1_tokens.json +14 -0
  60. data/spec/fixtures/post_conferences_2_invitation_email_en.json +1 -0
  61. data/spec/fixtures/post_contacts.json +3 -0
  62. data/spec/fixtures/post_file-library.json +10 -0
  63. data/spec/fixtures/presentation.pdf +0 -0
  64. data/spec/helpers/fixtures_helpers.rb +1 -1
  65. data/spec/models/open/chat_spec.rb +25 -0
  66. data/spec/models/open/concerns/with_conference_spec.rb +55 -0
  67. data/spec/models/open/concerns/with_locale_spec.rb +23 -0
  68. data/spec/models/open/conference_spec.rb +132 -0
  69. data/spec/models/open/contact_spec.rb +17 -0
  70. data/spec/models/open/file_spec.rb +46 -0
  71. data/spec/models/open/invitation_spec.rb +43 -0
  72. data/spec/models/open/login_hash_spec.rb +59 -0
  73. data/spec/models/open/model_spec.rb +55 -0
  74. data/spec/models/open/recording_spec.rb +21 -0
  75. data/spec/models/open/registration_spec.rb +25 -0
  76. data/spec/models/open/session_spec.rb +73 -0
  77. data/spec/models/open/time_zone_spec.rb +27 -0
  78. data/spec/models/open/token_spec.rb +54 -0
  79. data/spec/models/privatelabel/conference_spec.rb +25 -7
  80. data/spec/shared_examples/tokens_examples.rb +6 -0
  81. data/spec/spec_helper.rb +7 -0
  82. metadata +147 -8
  83. data/lib/clickmeetings/models/open_api/.keep +0 -0
@@ -0,0 +1,55 @@
1
+ require "spec_helper"
2
+
3
+ describe Clickmeetings::Open::Model do
4
+ describe '#default_headers' do
5
+ subject { described_class.default_headers["X-Api-Key"] }
6
+
7
+ it "uses default account_api_key" do
8
+ expect(subject).to eq Clickmeetings.config.api_key
9
+ end
10
+ end
11
+
12
+ describe '::with_account' do
13
+ context 'when use without block' do
14
+ before { described_class.with_account account_api_key: "some_else_key" }
15
+ after(:all) { described_class.with_account account_api_key: nil }
16
+
17
+ subject { described_class.default_headers["X-Api-Key"] }
18
+
19
+ it "uses specified key" do
20
+ expect(subject).to eq "some_else_key"
21
+ end
22
+ end
23
+
24
+ context 'when use with block' do
25
+ subject do
26
+ subj = described_class.with_account account_api_key: "anykey" do
27
+ described_class.default_headers
28
+ end
29
+ subj["X-Api-Key"]
30
+ end
31
+
32
+ it "uses specified key in block" do
33
+ expect(subject).to eq "anykey"
34
+ end
35
+
36
+ it "uses default key out of block" do
37
+ expect(described_class.default_headers["X-Api-Key"]).to eq Clickmeetings.config.api_key
38
+ end
39
+ end
40
+ end
41
+
42
+ describe '::ping' do
43
+ before do
44
+ stub_request(:get, "#{Clickmeetings.config.host}/ping")
45
+ .to_return(status: 200, body: "{\"ping\":\"pong\"}")
46
+ end
47
+
48
+ subject { described_class.ping }
49
+
50
+ it "responds with {\"ping\":\"pong\"}", :aggregate_failures do
51
+ expect(subject).to be_instance_of Hash
52
+ expect(subject).to eq({"ping" => "pong"})
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,21 @@
1
+ require "spec_helper"
2
+
3
+ describe Clickmeetings::Open::Recording do
4
+ describe '::destroy_all' do
5
+ before do
6
+ mock_api :get, 'conferences/1/recordings', open: true
7
+ mock_api :delete, 'conferences/1/recordings', open: true
8
+ end
9
+
10
+ subject { described_class.by_conference(conference_id: 1).destroy_all }
11
+
12
+ it "responds with array of recordings" do
13
+ expect(subject).to be_an_instance_of(Array)
14
+ expect(subject.first).to be_an_instance_of(described_class)
15
+ end
16
+
17
+ it "response has conference_id" do
18
+ expect(subject.first.conference_id).to eq 1
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,25 @@
1
+ require "spec_helper"
2
+
3
+ describe Clickmeetings::Open::Registration do
4
+ describe '::for_session' do
5
+ before { mock_api :get, 'conferences/1/sessions/1/registrations', open: true }
6
+
7
+ subject { described_class.by_conference(conference_id: 1).for_session(session_id: 1) }
8
+
9
+ it "responds with an array of registrations" do
10
+ expect(subject).to be_an_instance_of(Array)
11
+ expect(subject.first).to be_an_instance_of(described_class)
12
+ end
13
+ end
14
+
15
+ describe '::create' do
16
+ before { mock_api :post, "conferences/1/registration", open: true }
17
+
18
+ let(:params) { {registration: {1 => "qwer", 2 => 'qwer', 3 => 'qwer@qwer.qw'}} }
19
+ subject { described_class.by_conference(conference_id: 1).create(params) }
20
+
21
+ it "responds with hash" do
22
+ expect(subject).to be_an_instance_of(Hash)
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,73 @@
1
+ require "spec_helper"
2
+
3
+ describe Clickmeetings::Open::Session do
4
+ describe '::find' do
5
+ before { mock_api :get, 'conferences/1/sessions/1', open: true }
6
+
7
+ subject { described_class.by_conference(conference_id: 1).find(1) }
8
+
9
+ it "sets an id" do
10
+ expect(subject.id).to eq 1
11
+ end
12
+ end
13
+
14
+ describe '#attendees' do
15
+ before { mock_api :get, 'conferences/1/sessions/1/attendees', open: true }
16
+
17
+ subject { described_class.by_conference(conference_id: 1).new(id: 1).attendees }
18
+
19
+ it "responds with hashes", :aggregate_failures do
20
+ expect(subject).to be_an_instance_of(Array)
21
+ expect(subject.first).to be_an_instance_of(Hash)
22
+ end
23
+ end
24
+
25
+ describe '#generate_pdf' do
26
+ before { mock_api :get, 'conferences/1/sessions/1/generate-pdf/en', open: true }
27
+
28
+ subject { described_class.by_conference(conference_id: 1).new(id: 1).generate_pdf }
29
+
30
+ it "responds with a hash", :aggregate_failures do
31
+ expect(subject).to be_an_instance_of(Hash)
32
+ expect(subject.keys).to include("status")
33
+ expect(subject.keys).to include("progress")
34
+ end
35
+ end
36
+
37
+ describe '#get_report' do
38
+ context 'when \'in progress\'' do
39
+ before { mock_api :get, 'conferences/1/sessions/1/generate-pdf/ru', open: true }
40
+
41
+ subject { described_class.by_conference(conference_id: 1).new(id: 1).get_report :ru }
42
+
43
+ it "responds with nil" do
44
+ expect(subject).to be_nil
45
+ end
46
+ end
47
+
48
+ context 'when \'finished\'' do
49
+ before { mock_api :get, 'conferences/1/sessions/1/generate-pdf/pl', open: true }
50
+
51
+ subject { described_class.by_conference(conference_id: 1).new(id: 1).get_report :pl }
52
+
53
+ it 'responds with url' do
54
+ expect(subject).to eq("http://api.anysecond.com/panel/pdf/ru/5342110/VAqcdc")
55
+ end
56
+ end
57
+ end
58
+
59
+ describe 'registrations' do
60
+ before { mock_api :get, 'conferences/1/sessions/1/registrations', open: true }
61
+
62
+ subject { described_class.by_conference(conference_id: 1).new(id: 1).registrations }
63
+
64
+ it 'responds with an array of Registration objects' do
65
+ expect(subject).to be_an_instance_of(Array)
66
+ expect(subject.first).to be_an_instance_of(Clickmeetings::Open::Registration)
67
+ end
68
+
69
+ it 'respond contains conference_id' do
70
+ expect(subject.first.conference_id).to eq(1)
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,27 @@
1
+ require "spec_helper"
2
+
3
+ describe Clickmeetings::Open::TimeZone do
4
+ describe '::all' do
5
+ context 'without params' do
6
+ before { mock_api :get, 'time_zone_list/', open: true }
7
+
8
+ subject { described_class.all }
9
+
10
+ it "responds with an array" do
11
+ expect(subject).to be_an_instance_of(Array)
12
+ expect(subject.count).to eq(420)
13
+ end
14
+ end
15
+
16
+ context 'with params' do
17
+ before { mock_api :get, 'time_zone_list/ru', open: true }
18
+
19
+ subject { described_class.all country: :ru }
20
+
21
+ it "responds with an array" do
22
+ expect(subject).to be_an_instance_of(Array)
23
+ expect(subject.count).to eq(24)
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,54 @@
1
+ require "spec_helper"
2
+
3
+ describe Clickmeetings::Open::Token do
4
+ context 'without conference' do
5
+ %w(all create).each do |m|
6
+ describe "::#{m}" do
7
+ subject { described_class.send m }
8
+
9
+ specify { expect { subject }.to raise_error(Clickmeetings::Open::Token::NoConferenceError) }
10
+ end
11
+ end
12
+ end
13
+
14
+ context 'with conference' do
15
+ before { described_class.by_conference(conference_id: 1) }
16
+
17
+ describe '::all' do
18
+ before { mock_api :get, 'conferences/1/tokens', open: true }
19
+
20
+ subject { described_class.all }
21
+
22
+ it_behaves_like 'tokens list'
23
+ end
24
+
25
+ describe '::create' do
26
+ before { mock_api :post, 'conferences/1/tokens', open: true }
27
+
28
+ subject { described_class.create how_many: 2 }
29
+
30
+ it_behaves_like 'tokens list'
31
+ end
32
+
33
+ describe '#create_hash' do
34
+ before do
35
+ mock_api :get, 'conferences/1', open: true
36
+ mock_api :post, 'conferences/1/room/autologin_hash', open: true
37
+ end
38
+
39
+ subject do
40
+ described_class.new(token: 'qweqwe').create_hash(
41
+ nickname: 'makar',
42
+ email: 'qweqew@qweqew.com',
43
+ role: 'listener'
44
+ )
45
+ end
46
+
47
+ it 'responds with LoginHash object' do
48
+ expect(subject).to be_an_instance_of(Clickmeetings::Open::LoginHash)
49
+ expect(subject.conference_id).to eq(1)
50
+ expect(subject.token).to eq 'qweqwe'
51
+ end
52
+ end
53
+ end
54
+ end
@@ -2,17 +2,35 @@ require "spec_helper"
2
2
 
3
3
  describe Clickmeetings::PrivateLabel::Conference do
4
4
  context '::by_account' do
5
- before { described_class.by_account(account_id: 1) }
6
- after(:all) { described_class.by_account(account_id: nil) }
5
+ context "without block" do
6
+ before { described_class.by_account(account_id: 1) }
7
+ after(:all) { described_class.by_account(account_id: nil) }
7
8
 
8
- subject { described_class.account_id }
9
+ subject { described_class.account_id }
9
10
 
10
- specify { expect(subject).to eq 1 }
11
+ specify { expect(subject).to eq 1 }
11
12
 
12
- context "gives account_id to objects" do
13
- subject { described_class.new.account_id }
13
+ context "gives account_id to objects" do
14
+ subject { described_class.new.account_id }
14
15
 
15
- specify { expect(subject).to eq 1 }
16
+ specify { expect(subject).to eq 1 }
17
+ end
18
+ end
19
+
20
+ context 'with block' do
21
+ subject do
22
+ described_class.by_account account_id: 1 do
23
+ described_class.account_id
24
+ end
25
+ end
26
+
27
+ it "uses specified account_id in block" do
28
+ expect(subject).to eq 1
29
+ end
30
+
31
+ it "hasn't account_id out of block" do
32
+ expect(described_class.account_id).to be_nil
33
+ end
16
34
  end
17
35
  end
18
36
 
@@ -0,0 +1,6 @@
1
+ shared_examples 'tokens list' do
2
+ it "responds with an array of Token", :aggregate_failures do
3
+ expect(subject).to be_an_instance_of(Array)
4
+ expect(subject.first).to be_an_instance_of(Clickmeetings::Open::Token)
5
+ end
6
+ end
@@ -1,3 +1,10 @@
1
+ unless ENV['COVERAGE'].nil?
2
+ require "simplecov"
3
+ require "simplecov-gem-profile"
4
+
5
+ SimpleCov.start "gem"
6
+ end
7
+
1
8
  $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
2
9
 
3
10
  require 'rspec'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clickmeetings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3.1
4
+ version: 0.1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergei Alekseenko
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-11-15 00:00:00.000000000 Z
12
+ date: 2017-10-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -81,6 +81,34 @@ dependencies:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0.10'
84
+ - !ruby/object:Gem::Dependency
85
+ name: simplecov
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
98
+ - !ruby/object:Gem::Dependency
99
+ name: simplecov-gem-profile
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: '0'
105
+ type: :development
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: '0'
84
112
  - !ruby/object:Gem::Dependency
85
113
  name: anyway_config
86
114
  requirement: !ruby/object:Gem::Requirement
@@ -133,16 +161,22 @@ dependencies:
133
161
  name: activemodel
134
162
  requirement: !ruby/object:Gem::Requirement
135
163
  requirements:
136
- - - "~>"
164
+ - - ">="
137
165
  - !ruby/object:Gem::Version
138
166
  version: '4.1'
167
+ - - "<"
168
+ - !ruby/object:Gem::Version
169
+ version: '6'
139
170
  type: :runtime
140
171
  prerelease: false
141
172
  version_requirements: !ruby/object:Gem::Requirement
142
173
  requirements:
143
- - - "~>"
174
+ - - ">="
144
175
  - !ruby/object:Gem::Version
145
176
  version: '4.1'
177
+ - - "<"
178
+ - !ruby/object:Gem::Version
179
+ version: '6'
146
180
  - !ruby/object:Gem::Dependency
147
181
  name: json
148
182
  requirement: !ruby/object:Gem::Requirement
@@ -157,7 +191,7 @@ dependencies:
157
191
  - - "~>"
158
192
  - !ruby/object:Gem::Version
159
193
  version: '1.0'
160
- description: Simple REST API client for ClickMeetings Private Label API
194
+ description: Simple REST API client for ClickMeetings Private Label and Open API
161
195
  email:
162
196
  - alekseenkoss@gmail.com
163
197
  - ermak95@gmail.com
@@ -184,24 +218,69 @@ files:
184
218
  - lib/clickmeetings/engine.rb
185
219
  - lib/clickmeetings/exceptions.rb
186
220
  - lib/clickmeetings/model.rb
187
- - lib/clickmeetings/models/open_api/.keep
221
+ - lib/clickmeetings/models/open/chat.rb
222
+ - lib/clickmeetings/models/open/concerns/with_conference.rb
223
+ - lib/clickmeetings/models/open/concerns/with_locale.rb
224
+ - lib/clickmeetings/models/open/conference.rb
225
+ - lib/clickmeetings/models/open/contact.rb
226
+ - lib/clickmeetings/models/open/file_library.rb
227
+ - lib/clickmeetings/models/open/invitation.rb
228
+ - lib/clickmeetings/models/open/login_hash.rb
229
+ - lib/clickmeetings/models/open/model.rb
230
+ - lib/clickmeetings/models/open/phone_gateway.rb
231
+ - lib/clickmeetings/models/open/recording.rb
232
+ - lib/clickmeetings/models/open/registration.rb
233
+ - lib/clickmeetings/models/open/session.rb
234
+ - lib/clickmeetings/models/open/time_zone.rb
235
+ - lib/clickmeetings/models/open/token.rb
188
236
  - lib/clickmeetings/models/privatelabel/account.rb
189
237
  - lib/clickmeetings/models/privatelabel/conference.rb
190
238
  - lib/clickmeetings/models/privatelabel/model.rb
191
239
  - lib/clickmeetings/models/privatelabel/profile.rb
240
+ - lib/clickmeetings/storage.rb
192
241
  - lib/clickmeetings/version.rb
193
242
  - lib/tasks/clickmeetings.rake
194
243
  - spec/clickmeetings_spec.rb
195
244
  - spec/client_spec.rb
196
245
  - spec/fixtures/delete_accounts_1_conferences_1.json
246
+ - spec/fixtures/delete_conferences_1_recordings.json
197
247
  - spec/fixtures/delete_models_1.json
198
248
  - spec/fixtures/get_accounts_1_conferences.json
199
249
  - spec/fixtures/get_accounts_1_conferences_1.json
250
+ - spec/fixtures/get_chats_1.zip
200
251
  - spec/fixtures/get_client.json
252
+ - spec/fixtures/get_conferences.json
253
+ - spec/fixtures/get_conferences_1.json
254
+ - spec/fixtures/get_conferences_1_recordings.json
255
+ - spec/fixtures/get_conferences_1_registrations.json
256
+ - spec/fixtures/get_conferences_1_sessions.json
257
+ - spec/fixtures/get_conferences_1_sessions_1.json
258
+ - spec/fixtures/get_conferences_1_sessions_1_attendees.json
259
+ - spec/fixtures/get_conferences_1_sessions_1_generate-pdf_en.json
260
+ - spec/fixtures/get_conferences_1_sessions_1_generate-pdf_pl.json
261
+ - spec/fixtures/get_conferences_1_sessions_1_generate-pdf_ru.json
262
+ - spec/fixtures/get_conferences_1_sessions_1_registrations.json
263
+ - spec/fixtures/get_conferences_1_tokens.json
264
+ - spec/fixtures/get_conferences_2.json
265
+ - spec/fixtures/get_conferences_active.json
266
+ - spec/fixtures/get_conferences_inactive.json
267
+ - spec/fixtures/get_conferences_skins.json
268
+ - spec/fixtures/get_file-library_conferences_1.json
201
269
  - spec/fixtures/get_models.json
202
270
  - spec/fixtures/get_models_1.json
271
+ - spec/fixtures/get_time_zone_list.json
272
+ - spec/fixtures/get_time_zone_list_ru.json
203
273
  - spec/fixtures/post_accounts_1_conferences.json
274
+ - spec/fixtures/post_conferences_1_invitation_email_en.json
275
+ - spec/fixtures/post_conferences_1_invitation_email_ru.json
276
+ - spec/fixtures/post_conferences_1_registration.json
277
+ - spec/fixtures/post_conferences_1_room_autologin_hash.json
278
+ - spec/fixtures/post_conferences_1_tokens.json
279
+ - spec/fixtures/post_conferences_2_invitation_email_en.json
280
+ - spec/fixtures/post_contacts.json
281
+ - spec/fixtures/post_file-library.json
204
282
  - spec/fixtures/post_models.json
283
+ - spec/fixtures/presentation.pdf
205
284
  - spec/fixtures/put_accounts_1_conferences_1.json
206
285
  - spec/fixtures/put_accounts_1_disable.json
207
286
  - spec/fixtures/put_accounts_1_enable.json
@@ -209,10 +288,25 @@ files:
209
288
  - spec/helpers/fixtures_helpers.rb
210
289
  - spec/helpers/webmock_helpers.rb
211
290
  - spec/model_spec.rb
291
+ - spec/models/open/chat_spec.rb
292
+ - spec/models/open/concerns/with_conference_spec.rb
293
+ - spec/models/open/concerns/with_locale_spec.rb
294
+ - spec/models/open/conference_spec.rb
295
+ - spec/models/open/contact_spec.rb
296
+ - spec/models/open/file_spec.rb
297
+ - spec/models/open/invitation_spec.rb
298
+ - spec/models/open/login_hash_spec.rb
299
+ - spec/models/open/model_spec.rb
300
+ - spec/models/open/recording_spec.rb
301
+ - spec/models/open/registration_spec.rb
302
+ - spec/models/open/session_spec.rb
303
+ - spec/models/open/time_zone_spec.rb
304
+ - spec/models/open/token_spec.rb
212
305
  - spec/models/privatelabel/account_spec.rb
213
306
  - spec/models/privatelabel/conference_spec.rb
214
307
  - spec/models/privatelabel/profile_spec.rb
215
308
  - spec/shared_examples/conferences_examples.rb
309
+ - spec/shared_examples/tokens_examples.rb
216
310
  - spec/spec_helper.rb
217
311
  homepage: https://github.com/teachbase/clickmeetings
218
312
  licenses:
@@ -234,22 +328,52 @@ required_rubygems_version: !ruby/object:Gem::Requirement
234
328
  version: '0'
235
329
  requirements: []
236
330
  rubyforge_project:
237
- rubygems_version: 2.5.1
331
+ rubygems_version: 2.5.2
238
332
  signing_key:
239
333
  specification_version: 4
240
- summary: Simple REST API client for ClickMeetings Private Label API
334
+ summary: Simple REST API client for ClickMeetings Private Label and Open API
241
335
  test_files:
242
336
  - spec/clickmeetings_spec.rb
243
337
  - spec/client_spec.rb
244
338
  - spec/fixtures/delete_accounts_1_conferences_1.json
339
+ - spec/fixtures/delete_conferences_1_recordings.json
245
340
  - spec/fixtures/delete_models_1.json
246
341
  - spec/fixtures/get_accounts_1_conferences.json
247
342
  - spec/fixtures/get_accounts_1_conferences_1.json
343
+ - spec/fixtures/get_chats_1.zip
248
344
  - spec/fixtures/get_client.json
345
+ - spec/fixtures/get_conferences.json
346
+ - spec/fixtures/get_conferences_1.json
347
+ - spec/fixtures/get_conferences_1_recordings.json
348
+ - spec/fixtures/get_conferences_1_registrations.json
349
+ - spec/fixtures/get_conferences_1_sessions.json
350
+ - spec/fixtures/get_conferences_1_sessions_1.json
351
+ - spec/fixtures/get_conferences_1_sessions_1_attendees.json
352
+ - spec/fixtures/get_conferences_1_sessions_1_generate-pdf_en.json
353
+ - spec/fixtures/get_conferences_1_sessions_1_generate-pdf_pl.json
354
+ - spec/fixtures/get_conferences_1_sessions_1_generate-pdf_ru.json
355
+ - spec/fixtures/get_conferences_1_sessions_1_registrations.json
356
+ - spec/fixtures/get_conferences_1_tokens.json
357
+ - spec/fixtures/get_conferences_2.json
358
+ - spec/fixtures/get_conferences_active.json
359
+ - spec/fixtures/get_conferences_inactive.json
360
+ - spec/fixtures/get_conferences_skins.json
361
+ - spec/fixtures/get_file-library_conferences_1.json
249
362
  - spec/fixtures/get_models.json
250
363
  - spec/fixtures/get_models_1.json
364
+ - spec/fixtures/get_time_zone_list.json
365
+ - spec/fixtures/get_time_zone_list_ru.json
251
366
  - spec/fixtures/post_accounts_1_conferences.json
367
+ - spec/fixtures/post_conferences_1_invitation_email_en.json
368
+ - spec/fixtures/post_conferences_1_invitation_email_ru.json
369
+ - spec/fixtures/post_conferences_1_registration.json
370
+ - spec/fixtures/post_conferences_1_room_autologin_hash.json
371
+ - spec/fixtures/post_conferences_1_tokens.json
372
+ - spec/fixtures/post_conferences_2_invitation_email_en.json
373
+ - spec/fixtures/post_contacts.json
374
+ - spec/fixtures/post_file-library.json
252
375
  - spec/fixtures/post_models.json
376
+ - spec/fixtures/presentation.pdf
253
377
  - spec/fixtures/put_accounts_1_conferences_1.json
254
378
  - spec/fixtures/put_accounts_1_disable.json
255
379
  - spec/fixtures/put_accounts_1_enable.json
@@ -257,8 +381,23 @@ test_files:
257
381
  - spec/helpers/fixtures_helpers.rb
258
382
  - spec/helpers/webmock_helpers.rb
259
383
  - spec/model_spec.rb
384
+ - spec/models/open/chat_spec.rb
385
+ - spec/models/open/concerns/with_conference_spec.rb
386
+ - spec/models/open/concerns/with_locale_spec.rb
387
+ - spec/models/open/conference_spec.rb
388
+ - spec/models/open/contact_spec.rb
389
+ - spec/models/open/file_spec.rb
390
+ - spec/models/open/invitation_spec.rb
391
+ - spec/models/open/login_hash_spec.rb
392
+ - spec/models/open/model_spec.rb
393
+ - spec/models/open/recording_spec.rb
394
+ - spec/models/open/registration_spec.rb
395
+ - spec/models/open/session_spec.rb
396
+ - spec/models/open/time_zone_spec.rb
397
+ - spec/models/open/token_spec.rb
260
398
  - spec/models/privatelabel/account_spec.rb
261
399
  - spec/models/privatelabel/conference_spec.rb
262
400
  - spec/models/privatelabel/profile_spec.rb
263
401
  - spec/shared_examples/conferences_examples.rb
402
+ - spec/shared_examples/tokens_examples.rb
264
403
  - spec/spec_helper.rb