Module: Panoptes::Client::Cellect
- Included in:
- Panoptes::Client
- Defined in:
- lib/panoptes/client/cellect.rb
Instance Method Summary collapse
-
#cellect_subjects(workflow_id) ⇒ Hash
Fetches all active subjects for a cellect-enabled workflow.
-
#cellect_workflows ⇒ Hash
Fetches all cellect-enabled, launched workflows.
Instance Method Details
#cellect_subjects(workflow_id) ⇒ Hash
Fetches all active subjects for a cellect-enabled workflow.
19 20 21 |
# File 'lib/panoptes/client/cellect.rb', line 19 def cellect_subjects(workflow_id) cellect.get '/subjects', workflow_id: workflow_id end |
#cellect_workflows ⇒ Hash
Fetches all cellect-enabled, launched workflows.
11 12 13 |
# File 'lib/panoptes/client/cellect.rb', line 11 def cellect_workflows cellect.get '/workflows' end |