Exception: RubyTube::VideoPrivate

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rubytube/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(video_id) ⇒ VideoPrivate

Returns a new instance of VideoPrivate.



39
40
41
# File 'lib/rubytube/error.rb', line 39

def initialize(video_id)
  super("Video is private: #{video_id}")
end