Module: Diaspora::Federated::Base

Instance Method Summary collapse

Instance Method Details

#object_to_receiveObject

object for local recipients


13
14
15
# File 'lib/diaspora/federated/base.rb', line 13

def object_to_receive
  self
end

#subscribersArray<Person>

This method is abstract.
Note:

this must return [Array<Person>]

Returns:


20
21
22
# File 'lib/diaspora/federated/base.rb', line 20

def subscribers
  raise "You must override subscribers in order to enable federation on this model"
end