Class: WebRTC::RTCStatsResponse
- Inherits:
-
Object
- Object
- WebRTC::RTCStatsResponse
- Includes:
- Enumerable
- Defined in:
- lib/webrtc/parity_types.rb
Instance Attribute Summary collapse
-
#report ⇒ Object
readonly
Returns the value of attribute report.
Instance Method Summary collapse
- #each(&block) ⇒ Object
-
#initialize(report) ⇒ RTCStatsResponse
constructor
A new instance of RTCStatsResponse.
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
#report ⇒ Object (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 |