Class: Camper::RecordingTypes
Constant Summary collapse
- COMMENT =
'Comment'
- DOCUMENT =
'Document'
- MESSAGE =
'Message'
- QUESTION_ANSWER =
'Question::Answer'
- SCHEDULE_ENTRY =
'Schedule::Entry'
- TODO =
'Todo'
- TODOLIST =
'Todolist'
- UPLOAD =
'Upload'
Class Method Summary collapse
-
.all ⇒ Object
rubocop:disable Style/ClassVars.
Class Method Details
.all ⇒ Object
rubocop:disable Style/ClassVars
15 16 17 18 19 |
# File 'lib/camper/recording_types.rb', line 15 def self.all @@recordings ||= constants(false).map { |c| const_get(c) }.sort @@recordings end |