Class: Conred::Video::Other

Inherits:
Object
  • Object
show all
Includes:
Conred::Video
Defined in:
lib/conred/video.rb

Instance Method Summary collapse

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.



106
107
108
# File 'lib/conred/video.rb', line 106

def initialize(arguments = {:error_message => "Video url you have provided is invalid"})
  @error_message = arguments[:error_message]
end

Instance Method Details

#codeObject



110
111
112
# File 'lib/conred/video.rb', line 110

def code
  @error_message
end

#exist?Boolean

Returns:

  • (Boolean)


114
115
116
# File 'lib/conred/video.rb', line 114

def exist?
  false
end