Class: PostLink

Inherits:
ApplicationRecord show all
Includes:
PostChildWithPriority
Defined in:
app/models/post_link.rb

Class Method Summary collapse

Class Method Details

.creation_parametersObject



14
15
16
# File 'app/models/post_link.rb', line 14

def self.creation_parameters
  %i(post_id other_post_id)
end

.entity_parametersObject



10
11
12
# File 'app/models/post_link.rb', line 10

def self.entity_parameters
  %i(priority)
end