Exception: RubyTube::VideoUnavailable
- Inherits:
-
StandardError
- Object
- StandardError
- RubyTube::VideoUnavailable
- Defined in:
- lib/rubytube/error.rb,
lib/rubytube/error.rb
Instance Method Summary collapse
-
#initialize(video_id) ⇒ VideoUnavailable
constructor
A new instance of VideoUnavailable.
Constructor Details
#initialize(video_id) ⇒ VideoUnavailable
Returns a new instance of VideoUnavailable.
33 34 35 |
# File 'lib/rubytube/error.rb', line 33 def initialize(video_id) super("Video unavailable: #{video_id}") end |