projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
12032: Log.readable_by uses permission_view
[arvados.git]
/
services
/
api
/
app
/
models
/
trait.rb
1
# Copyright (C) The Arvados Authors. All rights reserved.
2
#
3
# SPDX-License-Identifier: AGPL-3.0
4
5
class Trait < ArvadosModel
6
include HasUuid
7
include KindAndEtag
8
include CommonApiTemplate
9
serialize :properties, Hash
10
11
api_accessible :user, extend: :common do |t|
12
t.add :name
13
t.add :properties
14
end
15
end