Sha256: 48409b9c4164a3c1859f95425c2bca1b0c8796a61d8e4e0617f1c66faa931c2e
Contents?: true
Size: 587 Bytes
Versions: 7
Compression:
Stored size: 587 Bytes
Contents
module Panoptes class Client module Classifications def get_subject_classifications(subject_id, workflow_id) panoptes.paginate("/classifications/project", { admin: true, workflow_id: workflow_id, subject_id: subject_id }, resource: "classifications") end def get_user_classifications(user_id, workflow_id) panoptes.paginate("/classifications/project", { admin: true, workflow_id: workflow_id, user_id: user_id }, resource: "classifications") end end end end
Version data entries
7 entries across 7 versions & 1 rubygems