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.
17 18 19 |
# File 'lib/panoptes/client/cellect.rb', line 17 def cellect_subjects(workflow_id) cellect.get '/subjects', workflow_id: workflow_id end |
#cellect_workflows ⇒ Hash
Fetches all cellect-enabled, launched workflows.
9 10 11 |
# File 'lib/panoptes/client/cellect.rb', line 9 def cellect_workflows cellect.get '/workflows' end |