Class: PipeDream::Result::Channel

Inherits:
Base
  • Object
show all
Defined in:
lib/pipe_dream/results/channel.rb

Instance Method Summary collapse

Methods inherited from Base

#channel_id, #channel_title, #description, #initialize, #live_broadcast_content, #published_at, #thumbnail_url, #title

Constructor Details

This class inherits a constructor from PipeDream::Result::Base

Instance Method Details

#idObject



4
5
6
# File 'lib/pipe_dream/results/channel.rb', line 4

def id
  @id ||= super('channelId')
end

#urlObject



8
9
10
# File 'lib/pipe_dream/results/channel.rb', line 8

def url
  @url ||= super("/channel/#{id}")
end