Module: BBBEvents

Defined in:
lib/bbbevents/base.rb,
lib/bbbevents/poll.rb,
lib/bbbevents/events.rb,
lib/bbbevents/version.rb,
lib/bbbevents/attendee.rb,
lib/bbbevents/recording.rb

Defined Under Namespace

Modules: Events Classes: Attendee, Poll, Recording

Constant Summary collapse

TIME_FORMAT =
"%H:%M:%S"
DATE_FORMAT =
"%m/%d/%Y %H:%M:%S"
UNKNOWN_DATE =
"??/??/????"
VERSION =
"2.0.0"
CSV_HEADER =
%w(name moderator chats talks emojis poll_votes raisehand talk_time join left duration)
NO_VOTE_SYMBOL =
"-"

Class Method Summary collapse

Class Method Details

.format_datetime(time) ⇒ Object



8
9
10
# File 'lib/bbbevents/base.rb', line 8

def self.format_datetime(time)
  time.strftime('%Y-%m-%dT%H:%M:%S.%L%:z')
end

.parse(events_xml) ⇒ Object



12
13
14
# File 'lib/bbbevents/base.rb', line 12

def self.parse(events_xml)
  Recording.new(events_xml)
end