panoptes-client 0.3.3 → 0.3.4

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: abd5f8f842e58644904e3f1f6eea7d30b3bfeeb5
4
- data.tar.gz: 1b5c1fbf52c95544b4e99f1c28dcf4400eb74ec3
3
+ metadata.gz: 6f62647379be8e2afccf1f99eb79eed003e9f767
4
+ data.tar.gz: 715ab549638cb7394245c92a58c0f4e94b86d23e
5
5
  SHA512:
6
- metadata.gz: 0fa1849d30dde85e6ab1bb231b16ecf5b2ebd20c0b1e168a49581370aa66486d60c77421e7df518d0f751d9e343700fcfe584ff52c024e9c07b70dbd995d2d30
7
- data.tar.gz: 5084426a472808ea540b0e7ae04700de3b3ae95ed05800edf00a4434c9c4667378597a3fa851502280cd36bef3641ca7babfd5f1c07d310272e2b8eaee91b11b
6
+ metadata.gz: c117bc101e16dc163290b80aa1250c8b6ebbb81e5f340d1d1912afbafb868d5bb0e3d8bde4fb3fbf1f4c4725fe4d06dde72c9272896544fa86df0637220ff838
7
+ data.tar.gz: 5182de05083421f555d4ca98c7182820a7ba306934ba6b7d2d1a10e3c9a100bde044954b744a480abbc463176f1e1daaa9003577879fc7fa8804728d53f8492a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.3.4
2
+
3
+ * Add `client.add_subject_set_to_workflow`
4
+
1
5
  # 0.3.3
2
6
 
3
7
  * `client.get_subject_classifications` now paginates if there is more than one page
@@ -1,5 +1,5 @@
1
1
  module Panoptes
2
2
  class Client
3
- VERSION = "0.3.3".freeze
3
+ VERSION = "0.3.4".freeze
4
4
  end
5
5
  end
@@ -10,6 +10,10 @@ module Panoptes
10
10
  response = panoptes.post("/workflows", workflows: attributes)
11
11
  response.fetch("workflows").first
12
12
  end
13
+
14
+ def add_subject_set_to_workflow(workflow_id, subject_set_id)
15
+ panoptes.post("/workflows/#{workflow_id}/links/subject_sets",subject_sets: subject_set_id)
16
+ end
13
17
  end
14
18
  end
15
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panoptes-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marten Veldthuis