diff --git a/lib/caido/helpers/workflow.rb b/lib/caido/helpers/workflow.rb new file mode 100644 index 0000000..1bfc178 --- /dev/null +++ b/lib/caido/helpers/workflow.rb @@ -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