class OpenTok::ArchiveList

A class for accessing an array of Archive objects.

Attributes

total[R]

The total number archives.

Public Class Methods

new(interface, json) click to toggle source

@private

Calls superclass method
# File lib/opentok/archive_list.rb, line 11
def initialize(interface, json)
  @total = json['count']
  super json['items'].map { |item| Archive.new interface, item }
end