Module: Framey::ActsAsVideo::Base::Config

Defined in:
lib/acts_as_video/base.rb

Instance Method Summary collapse

Instance Method Details

#acts_as_videoObject



13
14
15
16
17
18
19
20
21
# File 'lib/acts_as_video/base.rb', line 13

def acts_as_video

  # This is where arbitrary code goes that you want to 
  # add to the class that declared "acts_as_widget"
  
  has_many :videos,  :class_name => 'Framey::Video'

  include Framey::ActsAsVideo::Base::InstanceMethods
end