Skip to content

Commit

Permalink
Add exports helper
Browse files Browse the repository at this point in the history
  • Loading branch information
hahwul committed Jun 28, 2024
1 parent bdbe6c9 commit b3843b9
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions lib/caido/helpers/exports.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# frozen_string_literal: true

module Caido
# Instance class
class Instance
def exports
query('query{
dataExports{
id
format
name
status
error
createdAt
path
size
downloadUri
}
}')['dataExports']
end
end
end

0 comments on commit b3843b9

Please sign in to comment.