Skip to content

Commit 09e8e44

Browse files
committed
chore: Rename project.rb to workspace.rb and add backups method
1 parent e2fcd7b commit 09e8e44

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

lib/caido/helpers/project.rb renamed to lib/caido/helpers/workspace.rb

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,20 @@ def projects
1313
}
1414
}')['projects']
1515
end
16+
17+
def backups
18+
query('query{
19+
backups{
20+
id
21+
name
22+
status
23+
updatedAt
24+
createdAt
25+
path
26+
size
27+
downloadUri
28+
}
29+
}')['backups']
30+
end
1631
end
1732
end

0 commit comments

Comments
 (0)