class Job < ArvadosBase
- def self.goes_in_folders?
+ def self.goes_in_projects?
true
end
- def attribute_editable?(attr)
+ def content_summary
+ "#{script} job"
+ end
+
+ def attribute_editable? attr, *args
false
end
x += " submitted #{created_at.strftime('%b %-d')}"
end
end
+
+ def cancel
+ arvados_api_client.api "jobs/#{self.uuid}/", "cancel", {}
+ end
end