module Panoptes::Client::Cellect

Public Instance Methods

cellect_subjects(workflow_id) click to toggle source

Fetches all active subjects for a cellect-enabled workflow.

@param workflow_id [Integer] the id of the workflow @return [Hash] the list of subjects

# File lib/panoptes/client/cellect.rb, line 19
def cellect_subjects(workflow_id)
  cellect.get '/subjects', workflow_id: workflow_id
end
cellect_workflows() click to toggle source

Fetches all cellect-enabled, launched workflows.

@return [Hash] the list of workflows

# File lib/panoptes/client/cellect.rb, line 11
def cellect_workflows
  cellect.get '/workflows'
end