Module: Feedable::FeedableRecord::ClassMethods

Defined in:
lib/feedable/active_record.rb

Instance Method Summary collapse

Instance Method Details

#feedable(col) ⇒ Object



8
9
10
11
# File 'lib/feedable/active_record.rb', line 8

def feedable(col)
  class_attribute :feedable_col
  self.feedable_col = col
end