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 9df128983950b17cc744f86731b387f7c55e8dc8..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
- 'arvados#' + self.class.to_s.camelcase(:lower)
+ self.class.kind
end
def etag