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 +4 -4
- data/lib/wes/data/api/user.rb +5 -0
- data/lib/wes/data/api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db94044a84df6f7db504e946d50f0a4fb766108e
|
4
|
+
data.tar.gz: b98fd46df384b777745884744f1c8340eab10657
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b07bac0c32b2242613b12eb2d19673bc4162b967995c59078b8f137b99f08eaa227250680ff65d5d6ef686916967700ba7d4b73ca3f2baee67bb9857d38af8a2
|
7
|
+
data.tar.gz: 4149cded4413eb38993c2d4fe1d912b5d2b49222b69f20dba138050b1d66a76314405441aea2e42dadbd96e2982a9900534db61fd97c55a9c4580585fbe69d9d
|
data/lib/wes/data/api/user.rb
CHANGED
@@ -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}"
|
data/lib/wes/data/api/version.rb
CHANGED