lib/travis/client/entity.rb in travis-1.5.1 vs lib/travis/client/entity.rb in travis-1.5.2

- old
+ new

@@ -127,9 +127,17 @@ def relations self.class.relations.map { |r| public_send(r) }.flatten(1) end + def restartable? + false + end + + def cancelable? + false + end + private def relation(name) name = name.to_s entity = Entity.subclass_for(name)