panoptes-client 0.2.11 → 0.2.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9622c3e163c36d3f9821e09785c928afce042c0b
4
- data.tar.gz: 7cc2927055373703c9fa1256907ae8c38a458970
3
+ metadata.gz: e656704fd4bf65904864c26d3279f2f54ac6e804
4
+ data.tar.gz: f638ade168a1d478ee158ef9370550f20b382a97
5
5
  SHA512:
6
- metadata.gz: 868b77dca3a27b49036aebb65337d5d0ff3e4a6e5d8372360e40ffdf99dfad9a611aea664f9c73d1c54c7a4f5adb7bcc0a271dbb3420e5620723d343c17eff57
7
- data.tar.gz: 4fc0c8955701d5fafd0c986146b83777ff05cfed4164d571ec32e8d5a75139bceeabb772a26f82b5e583f00476038c5a7373477850602b35dda65e413b25d1a2
6
+ metadata.gz: f4ac84c5a4d00cf1a53957c565926272f172e386646b014710aa8a65d74829130cc79b7c222b31e65e3231f418ccdde5b02b7aea84b66c19b8499c4a5d688c30
7
+ data.tar.gz: 406e7301bc183492bb84ded6de51efbc8fb915b61c09944e67037a48d368eeca3fc1c058e3f338ba399d5d3301cdc5ce5b93c20fcf00e88e26e6d53d0dec03f9
@@ -2,6 +2,7 @@ require 'panoptes/endpoints/json_api_endpoint'
2
2
  require 'panoptes/endpoints/json_endpoint'
3
3
 
4
4
  require 'panoptes/client/cellect'
5
+ require 'panoptes/client/classifications'
5
6
  require 'panoptes/client/collections'
6
7
  require 'panoptes/client/comments'
7
8
  require 'panoptes/client/discussions'
@@ -26,6 +27,7 @@ module Panoptes
26
27
  include Panoptes::Client::Comments
27
28
 
28
29
  include Panoptes::Client::Collections
30
+ include Panoptes::Client::Classifications
29
31
 
30
32
  include Panoptes::Client::Cellect
31
33
 
@@ -0,0 +1,13 @@
1
+ module Panoptes
2
+ class Client
3
+ module Classifications
4
+ def get_subject_classifications(subject_id, workflow_id)
5
+ panoptes.get("/classifications/project", {
6
+ admin: true,
7
+ workflow_id: workflow_id,
8
+ subject_id: subject_id
9
+ })
10
+ end
11
+ end
12
+ end
13
+ end
@@ -1,5 +1,5 @@
1
1
  module Panoptes
2
2
  class Client
3
- VERSION = "0.2.11".freeze
3
+ VERSION = "0.2.12".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panoptes-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.11
4
+ version: 0.2.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marten Veldthuis
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-07 00:00:00.000000000 Z
11
+ date: 2017-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -147,6 +147,7 @@ files:
147
147
  - lib/panoptes-client.rb
148
148
  - lib/panoptes/client.rb
149
149
  - lib/panoptes/client/cellect.rb
150
+ - lib/panoptes/client/classifications.rb
150
151
  - lib/panoptes/client/collections.rb
151
152
  - lib/panoptes/client/comments.rb
152
153
  - lib/panoptes/client/discussions.rb