bigbluebutton 0.0.1 → 0.0.2

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.
data/test/test.rb ADDED
@@ -0,0 +1,40 @@
1
+ require 'bigbluebutton'
2
+ require 'thread'
3
+
4
+ begin
5
+ MEETING_ID = 'ruby_gem_test'
6
+ MEETING_NAME = 'Test Meeting For Ruby Gem'
7
+ MODERATOR_PASSWORD = '4321'
8
+ MODERATOR_NAME = 'Jake'
9
+ ATTENDEE_PASSWORD = '1234'
10
+ ATTENDEE_NAME = 'Eben'
11
+
12
+ api = BigBlueButton::BigBlueButtonApi.new
13
+ api.create_meeting(MEETING_ID, MEETING_NAME, MODERATOR_PASSWORD, ATTENDEE_PASSWORD, 'Welcome to my meeting', '1-800-000-0000x00000#', 'http://www.brownbaglunch.com/bigbluebutton', 10)
14
+ puts ""
15
+ puts "The meeting has been created. Please open a web browser and enter the meeting using either of the below URLs, then press ENTER to continue."
16
+
17
+ url = api.moderator_url(MEETING_ID, MODERATOR_NAME, MODERATOR_PASSWORD)
18
+ url = api.attendee_url(MEETING_ID, ATTENDEE_NAME, ATTENDEE_PASSWORD)
19
+ puts "1) Moderator URL = #{url}"
20
+ puts ""
21
+ puts "2) Attendee URL = #{url}"
22
+
23
+ puts ""
24
+ puts "Waiting 60 seconds for you to enter via browser"
25
+ sleep(60)
26
+
27
+ unless api.is_meeting_running(MEETING_ID)
28
+ puts "You have NOT entered the meeting"
29
+ return
30
+ end
31
+ puts "You have successfully entered the meeting"
32
+
33
+ xml_doc = api.get_meeting_info(MEETING_ID, MODERATOR_PASSWORD)
34
+ puts "The meeting token for this meeting is: #{xml_doc.root.get_text('/response/meetingToken').to_s}"
35
+ api.end_meeting(MEETING_ID, MODERATOR_PASSWORD)
36
+ puts "The meeting has been ended"
37
+ rescue Exception => ex
38
+ puts "Failed with error #{ex.message}"
39
+ puts ex.backtrace
40
+ end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
8
+ - 2
9
+ version: 0.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Joe Kinsella
@@ -32,6 +32,28 @@ files:
32
32
  - README
33
33
  - Rakefile
34
34
  - lib/bigbluebutton.rb
35
+ - doc/classes/BigBlueButton/BigBlueButtonApi.html
36
+ - doc/classes/BigBlueButton/BigBlueButtonApi.src/M000001.html
37
+ - doc/classes/BigBlueButton/BigBlueButtonApi.src/M000002.html
38
+ - doc/classes/BigBlueButton/BigBlueButtonApi.src/M000003.html
39
+ - doc/classes/BigBlueButton/BigBlueButtonApi.src/M000004.html
40
+ - doc/classes/BigBlueButton/BigBlueButtonApi.src/M000005.html
41
+ - doc/classes/BigBlueButton/BigBlueButtonApi.src/M000006.html
42
+ - doc/classes/BigBlueButton/BigBlueButtonApi.src/M000007.html
43
+ - doc/classes/BigBlueButton/BigBlueButtonApi.src/M000008.html
44
+ - doc/classes/BigBlueButton/BigBlueButtonApi.src/M000009.html
45
+ - doc/classes/BigBlueButton/BigBlueButtonApi.src/M000010.html
46
+ - doc/classes/BigBlueButton/BigBlueButtonsException.html
47
+ - doc/classes/BigBlueButton.html
48
+ - doc/created.rid
49
+ - doc/files/lib/bigbluebutton_rb.html
50
+ - doc/files/test/test_rb.html
51
+ - doc/fr_class_index.html
52
+ - doc/fr_file_index.html
53
+ - doc/fr_method_index.html
54
+ - doc/index.html
55
+ - doc/rdoc-style.css
56
+ - test/test.rb
35
57
  has_rdoc: true
36
58
  homepage: http://www.brownbaglunch.com/bigbluebutton
37
59
  licenses: []