Sha256: 83cdde30d917c238345a6762fcd6d7b3bd7067329a81a7465ab4b9cb80816c8c
Contents?: true
Size: 383 Bytes
Versions: 8
Compression:
Stored size: 383 Bytes
Contents
require "opentok/render" module OpenTok # A class for accessing an array of Experience Composer Render objects. class RenderList < Array # The total number of Experience Composer renders. attr_reader :total def initialize(interface, json) @total = json["count"] super json["items"].map { |item| ::OpenTok::Render.new interface, item } end end end
Version data entries
8 entries across 8 versions & 1 rubygems