diff --git a/lib/caido/helpers/project.rb b/lib/caido/helpers/workspace.rb similarity index 52% rename from lib/caido/helpers/project.rb rename to lib/caido/helpers/workspace.rb index 2f5726f..7549acf 100644 --- a/lib/caido/helpers/project.rb +++ b/lib/caido/helpers/workspace.rb @@ -13,5 +13,20 @@ def projects } }')['projects'] end + + def backups + query('query{ + backups{ + id + name + status + updatedAt + createdAt + path + size + downloadUri + } + }')['backups'] + end end end