Sha256: 15e2919c6d83e995d8b2d577a1967fc715665226ffc40038fd17b6f379c6e7d9

Contents?: true

Size: 554 Bytes

Versions: 7

Compression:

Stored size: 554 Bytes

Contents

=begin
 OpenTok Ruby Library v0.90.0
 http://www.tokbox.com/

 Copyright 2010 - 2011, TokBox, Inc.
=end

module OpenTok
  class ArchiveTimelineEvent
    attr_accessor :event_type, :resource_id, :offset
    
    def initialize(event_type, resource_id, offset)
      @event_type = event_type
      @resource_id = resource_id
      @offset = offset
    end

    def self.parseXML(timeline_item)
      OpenTok::ArchiveTimelineEvent.new(timeline_item.attributes['type'], timeline_item.attributes['id'], timeline_item.attributes['offset'])
    end
  end  
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
opentok-0.0.92 lib/open_tok/archive_timeline_event.rb
opentok-0.0.91 lib/open_tok/archive_timeline_event.rb
opentok-0.0.9 lib/open_tok/archive_timeline_event.rb
opentok-0.0.73 lib/open_tok/archive_timeline_event.rb
opentok-0.0.72 lib/open_tok/archive_timeline_event.rb
opentok-0.0.7 lib/open_tok/archive_timeline_event.rb
opentok-0.0.6 lib/open_tok/archive_timeline_event.rb