class Job < ArvadosBase
- def self.goes_in_folders?
+ def self.goes_in_projects?
true
end
end
def attribute_editable? attr, *args
- false
+ if attr.to_sym == :description
+ super && attr.to_sym == :description
+ else
+ false
+ end
end
def self.creatable?
x += " submitted #{created_at.strftime('%b %-d')}"
end
end
+
+ def cancel
+ arvados_api_client.api "jobs/#{self.uuid}/", "cancel", {}
+ end
+
+ def textile_attributes
+ [ 'description' ]
+ end
end