Skip to content

Commit

Permalink
Add workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
hahwul committed Jun 25, 2024
1 parent afa9479 commit 7d22eab
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions lib/caido/helpers/workflow.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# frozen_string_literal: true

module Caido
# Instance class
class Instance
def workflows
query('query{
workflows{
id
name
kind
enabled
global
definition
createdAt
updatedAt
}
}')['workflows']
end
end
end

0 comments on commit 7d22eab

Please sign in to comment.