Module: ActsAsKaltura::Annotation::ClassMethods

Defined in:
lib/acts_as_kaltura/annotation.rb

Instance Method Summary collapse

Instance Method Details

#acts_as_kaltura_annotation(options = { }) ⇒ Object



11
12
13
14
15
16
# File 'lib/acts_as_kaltura/annotation.rb', line 11

def acts_as_kaltura_annotation options = { }
  self._kaltura_options = options
  before_create :create_kaltura_annotation
  after_update :update_kaltura_annotation
  after_destroy :delete_kaltura_annotation
end