projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
:none dispatcher only runs one job at a time.
[arvados.git]
/
services
/
api
/
lib
/
kind_and_etag.rb
diff --git
a/services/api/lib/kind_and_etag.rb
b/services/api/lib/kind_and_etag.rb
index 93f69f5bc5fb34dab3f7c5e83deb0d6a3d8d0719..89c01ef3a2e086fdd38f2de2923dc00f7324c4a3 100644
(file)
--- a/
services/api/lib/kind_and_etag.rb
+++ b/
services/api/lib/kind_and_etag.rb
@@
-5,10
+5,13
@@
module KindAndEtag
end
module ClassMethods
+ def kind
+ 'arvados#' + self.to_s.camelcase(:lower)
+ end
end
def kind
- 'orvos#' + self.class.to_s.underscore
+ self.class.kind
end
def etag