Sha256: b0e95db75556a98e0fdc7c9a16837f68fa70027737b4f61e41a050b5282dd05c
Contents?: true
Size: 557 Bytes
Versions: 18
Compression:
Stored size: 557 Bytes
Contents
require 'faraday' module Panoptes class Client module Cellect # Fetches all cellect-enabled, launched workflows. # # @return [Hash] the list of workflows def cellect_workflows cellect.get '/workflows' end # Fetches all active subjects for a cellect-enabled workflow. # # @param workflow_id [Integer] the id of the workflow # @return [Hash] the list of subjects def cellect_subjects(workflow_id) cellect.get '/subjects', workflow_id: workflow_id end end end end
Version data entries
18 entries across 18 versions & 1 rubygems