lib/panoptes/client/workflows.rb in panoptes-client-0.3.3 vs lib/panoptes/client/workflows.rb in panoptes-client-0.3.4

- old
+ new

@@ -8,8 +8,12 @@ def create_workflow(attributes) response = panoptes.post("/workflows", workflows: attributes) response.fetch("workflows").first end + + def add_subject_set_to_workflow(workflow_id, subject_set_id) + panoptes.post("/workflows/#{workflow_id}/links/subject_sets",subject_sets: subject_set_id) + end end end end