class Twitch::StreamMarkerResponse

The response envelope for the “Get Stream Markers” endpoint.

Attributes

user_id[R]
user_name[R]
videos[R]

Public Class Methods

new(attributes = {}) click to toggle source
# File lib/twitch/stream_marker.rb, line 31
def initialize(attributes = {})
  @user_id = attributes['user_id']
  @user_name = attributes['user_name']
  @videos = attributes['videos'].map { |v| VideoStreamMarkers.new(v) }
end