projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add shared "common" template with kind and etag
[arvados.git]
/
lib
/
common_api_template.rb
1
module CommonApiTemplate
2
def self.included(base)
3
base.extend(ClassMethods)
4
base.acts_as_api
5
base.api_accessible :common do |t|
6
t.add :kind
7
t.add :etag
8
t.add :uuid
9
t.add :created_by_client
10
t.add :created_by_user
11
t.add :created_at
12
t.add :modified_by_client
13
t.add :modified_by_user
14
t.add :modified_at
15
t.add :updated_at
16
end
17
end
18
19
module ClassMethods
20
end
21
end