Class: Like::Generator

Inherits:
Federated::Generator show all
Defined in:
app/models/like.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Federated::Generator

#build, #create!, #initialize

Constructor Details

This class inherits a constructor from Federated::Generator

Class Method Details

.federated_classObject


7
8
9
# File 'app/models/like.rb', line 7

def self.federated_class
  Like
end

Instance Method Details

#relayable_optionsObject


11
12
13
# File 'app/models/like.rb', line 11

def relayable_options
  {:target => @target, :positive => true}
end