class YoutubeVideo::Author
comment's author infomation
Attributes
like_count[R]
Public Class Methods
new(data)
click to toggle source
# File lib/YPBT/author.rb, line 7 def initialize(data) return unless data @author_name = data['authorDisplayName'] @author_image_url = data['authorProfileImageUrl'] @author_channel_url = data['authorChannelUrl'] @like_count = data['likeCount'].to_i end