class Twitch::StreamMarker

A point of time in a stream VOD that was marked while it is live.

Attributes

created_at[R]

Date at which the stream marker was created.

description[R]

Description of the stream marker.

id[R]

ID of the stream marker.

position_seconds[R]

Elapsed time in the VOD in seconds at which the stream marker was created.

url[R]

URL pointing to the video and timestamp of the stream marker. Not returned upon creation.

Public Class Methods

new(attributes = {}) click to toggle source
# File lib/twitch/stream_marker.rb, line 16
def initialize(attributes = {})
  @id = attributes['id']
  @created_at = Time.parse(attributes['created_at'])
  @description = attributes['description']
  @position_seconds = attributes['position_seconds']
  @url = attributes['URL']
end