wes-data-api 1.5.0 → 1.6.0

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: bf54b7a106c5f130ac21a1580bf48f9cb7f89ceb
4
- data.tar.gz: e47f74772605faa8388618f9003a84469ec51095
3
+ metadata.gz: db94044a84df6f7db504e946d50f0a4fb766108e
4
+ data.tar.gz: b98fd46df384b777745884744f1c8340eab10657
5
5
  SHA512:
6
- metadata.gz: d9b6f557badb75ae2cd03c95c7db9eab800be42e7efdd8beb77a645f3df9c6123719fb6481e76ac8f77f66b5928096fe4c16dea0d1ad9d592ccf9e393b448e68
7
- data.tar.gz: d13d4b04fc0a8de911c1b44a246198bbdfbcaacd8b323377aac2e82777df79f242e5f3e2731b5b8b745df8281bd6dc915b4131a4f0e93da20302d56ae65b6a1c
6
+ metadata.gz: b07bac0c32b2242613b12eb2d19673bc4162b967995c59078b8f137b99f08eaa227250680ff65d5d6ef686916967700ba7d4b73ca3f2baee67bb9857d38af8a2
7
+ data.tar.gz: 4149cded4413eb38993c2d4fe1d912b5d2b49222b69f20dba138050b1d66a76314405441aea2e42dadbd96e2982a9900534db61fd97c55a9c4580585fbe69d9d
@@ -14,6 +14,11 @@ module Wes
14
14
  client.get "#{routes.user}/#{id}#{routes.submissions}/closed"
15
15
  end
16
16
 
17
+ def create_metadata
18
+ check_for_id!
19
+ client.post("#{routes.user}/#{id}#{routes.metadata}", {})
20
+ end
21
+
17
22
  def metadata
18
23
  check_for_id!
19
24
  client.get "#{routes.user}/#{id}#{routes.metadata}"
@@ -1,7 +1,7 @@
1
1
  module Wes
2
2
  module Data
3
3
  module API
4
- VERSION = "1.5.0".freeze
4
+ VERSION = "1.6.0".freeze
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wes-data-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''