class Twitch::UserFollow
Represents a relationship of one user following another.
Attributes
followed_at[R]
Date at which the follow action was performed.
from_id[R]
User
ID of the following user.
from_name[R]
Display name of the following user.
to_id[R]
User
ID of the followed user.
to_name[R]
User
name of the followed user.
Public Class Methods
new(attributes = {})
click to toggle source
# File lib/twitch/user_follow.rb, line 15 def initialize(attributes = {}) @from_id = attributes['from_id'] @from_name = attributes['from_name'] @to_id = attributes['to_id'] @to_name = attributes['to_name'] @followed_at = Time.iso8601(attributes['followed_at']) end