Sha256: f6bf66ee4f57e6f6b333d13c9285e920f630da54f53f9471c13b6e66743712a1

Contents?: true

Size: 527 Bytes

Versions: 6

Compression:

Stored size: 527 Bytes

Contents

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

 Copyright 2010 - 2011, TokBox, Inc.
=end

module OpenTok
  class ArchiveVideoResource
    attr_reader :type
    attr_accessor :id, :length

    def initialize(id, length)
      @id = id
      @type = "video"
      @length = length
    end

    def getId
      return @id
    end

    def self.parseXML(video_resource_item)
      OpenTok::ArchiveVideoResource.new(video_resource_item.attributes['id'], video_resource_item.attributes['length'])
    end
  end
  
end

Version data entries

6 entries across 6 versions & 1 rubygems

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