Class: Twenty::Task
- Defined in:
- lib/twenty-backend/model/task.rb
Constant Summary collapse
- STATUS =
{backlog: 0, ready: 1, in_progress: 2, complete: 3}
Instance Method Summary collapse
-
#project ⇒ Object
Associations.
-
#title ⇒ Object
Validations.
Instance Method Details
#project ⇒ Object
Associations
17 |
# File 'lib/twenty-backend/model/task.rb', line 17 belongs_to :project, class_name: "Twenty::Project" |
#title ⇒ Object
Validations
11 |
# File 'lib/twenty-backend/model/task.rb', line 11 validates :title, presence: true |