Class: WebRTC::RTCStatsResponse

Inherits:
Object
  • Object
show all
Includes:
Enumerable
Defined in:
lib/webrtc/parity_types.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(report) ⇒ RTCStatsResponse

Returns a new instance of RTCStatsResponse.



349
350
351
# File 'lib/webrtc/parity_types.rb', line 349

def initialize(report)
  @report = report
end

Instance Attribute Details

#reportObject (readonly)

Returns the value of attribute report.



347
348
349
# File 'lib/webrtc/parity_types.rb', line 347

def report
  @report
end

Instance Method Details

#each(&block) ⇒ Object



353
354
355
# File 'lib/webrtc/parity_types.rb', line 353

def each(&block)
  @report.each(&block)
end