lib/travis/client/repository.rb in travis-1.5.9.travis.360.4 vs lib/travis/client/repository.rb in travis-1.5.9.travis.361.4
- old
+ new
@@ -176,9 +176,17 @@
def owner
session.account(owner_name)
end
+ def caches(params = {})
+ session.get("/repos/#{id}/caches", params)['caches']
+ end
+
+ def delete_caches(params = {})
+ session.delete("/repos/#{id}/caches", params)['caches']
+ end
+
private
def state
last_build_state
end