class NicoUtil::Channel

Public Class Methods

new(owner, channel_id) click to toggle source
# File lib/nico_util/channel.rb, line 9
def initialize owner, channel_id
  @owner = owner
  @id = channel_id
end

Public Instance Methods

url() click to toggle source
# File lib/nico_util/channel.rb, line 14
def url
  "http://ch.nicovideo.jp/#{@id}"
end