Sha256: 8a5af41e90ee904f3acd30906c81bcf3cef8ea23cbcd2352a1c6c66856897ee0
Contents?: true
Size: 351 Bytes
Versions: 35
Compression:
Stored size: 351 Bytes
Contents
require "opentok/archive" module OpenTok # A class for accessing an array of Archive objects. class ArchiveList < Array # The total number archives. attr_reader :total # @private def initialize(interface, json) @total = json['count'] super json['items'].map { |item| Archive.new interface, item } end end end
Version data entries
35 entries across 35 versions & 1 rubygems