Module: Seymour::Distributable

Extended by:
ActiveSupport::Concern
Defined in:
lib/seymour/distributable.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#distributeObject

instance methods



84
85
86
# File 'lib/seymour/distributable.rb', line 84

def distribute
  self.class.distribute(self)
end

#feedsObject



92
93
94
# File 'lib/seymour/distributable.rb', line 92

def feeds
  self.class.feeds_for(self)
end

#removeObject



88
89
90
# File 'lib/seymour/distributable.rb', line 88

def remove
  self.class.remove(self)
end