Class: Conred::Video::Other
- Inherits:
-
Object
- Object
- Conred::Video::Other
- Includes:
- Conred::Video
- Defined in:
- lib/conred/video.rb
Instance Attribute Summary
Attributes included from Conred::Video
#error_message, #height, #video_id, #width
Instance Method Summary collapse
- #code ⇒ Object
- #exist? ⇒ Boolean
-
#initialize(arguments = {:error_message => "Video url you have provided is invalid"}) ⇒ Other
constructor
A new instance of Other.
Methods included from Conred::Video
new, #vimeo_video?, #youtube_video?
Constructor Details
#initialize(arguments = {:error_message => "Video url you have provided is invalid"}) ⇒ Other
Returns a new instance of Other.
102 103 104 |
# File 'lib/conred/video.rb', line 102 def initialize(arguments = {:error_message => "Video url you have provided is invalid"}) @error_message = arguments[:error_message] end |
Instance Method Details
#code ⇒ Object
106 107 108 |
# File 'lib/conred/video.rb', line 106 def code @error_message end |
#exist? ⇒ Boolean
110 111 112 |
# File 'lib/conred/video.rb', line 110 def exist? false end |