Class: Niconico::Base

Inherits:
Fabric
  • Object
show all
Defined in:
lib/nv/niconico/base.rb

Instance Attribute Summary

Attributes inherited from Fabric

#agent

Instance Method Summary collapse

Methods inherited from Fabric

#initialize, #sign_in, #signed_in?

Constructor Details

This class inherits a constructor from Niconico::Fabric

Instance Method Details

#mylist(mylist_id) ⇒ Object



7
8
9
# File 'lib/nv/niconico/base.rb', line 7

def mylist(mylist_id)
  Niconico::Mylist.new(mylist_id, @agent)
end

#video(video_id) ⇒ Object



3
4
5
# File 'lib/nv/niconico/base.rb', line 3

def video(video_id)
  Niconico::Video.new(video_id, @agent)
end