Class: Virgo::Slide

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/virgo/slide.rb

Instance Method Summary collapse

Instance Method Details

#video?Boolean

validation disabled on editors' request validate :has_video_or_image

Returns:

  • (Boolean)

11
12
13
# File 'app/models/virgo/slide.rb', line 11

def video?
  video_embed.present?
end