Class: PostNote

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

Constant Summary collapse

TEXT_LIMIT =
1000

Class Method Summary collapse

Class Method Details

.creation_parametersObject



13
14
15
# File 'app/models/post_note.rb', line 13

def self.creation_parameters
  entity_parameters + %i(post_id)
end

.entity_parametersObject



9
10
11
# File 'app/models/post_note.rb', line 9

def self.entity_parameters
  %i(priority text)
end