atlas_rb 0.0.29 → 0.0.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.version +1 -1
- data/Gemfile.lock +1 -1
- data/lib/atlas_rb/work.rb +5 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35f567609ed20e3a203019f4301de45d5fb32f7a7e1491761e96fa7077793a8a
|
4
|
+
data.tar.gz: 0b85662128d992b5a577259d8924edb139215ae6e8f06ffb76a78409b444a54c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4262d921a5793b497ba276cc807831d9aaab085fb990b4733a29049fd876ea81c40c5e11072d446f06572f1d24c8044885abac9a590e6f7f0aa3069e6e140eb5
|
7
|
+
data.tar.gz: 584a33a8ea5073cf9085bdb5b89e915719866483e84600fcbeea8b2f218c458eec098dec6544a771fc50add3d9a894279593d783ce5ba1df416f364c1f27ec33
|
data/.version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.30
|
data/Gemfile.lock
CHANGED
data/lib/atlas_rb/work.rb
CHANGED
@@ -23,5 +23,10 @@ module AtlasRb
|
|
23
23
|
File.basename(xml_path)) }
|
24
24
|
JSON.parse(multipart({}).patch(ROUTE + id, payload)&.body)
|
25
25
|
end
|
26
|
+
|
27
|
+
def self.mods(id)
|
28
|
+
# optional second argument for pure json response?
|
29
|
+
JSON.parse(connection({}).get(ROUTE + id + '/mods.html')&.body)
|
30
|
+
end
|
26
31
|
end
|
27
32
|
end
|