nexus-invision 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/nexus/invision/client.rb +18 -0
- data/lib/nexus/invision/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4dfe908216cd6c5097306852f51e36e97e2f61ac0e84c6cc6675e3882d3f9ae9
|
4
|
+
data.tar.gz: f4eb93a2e69ef9e3db92bf26be396a4af78ab1476e0bb2bd60b0252c0d5bd060
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80e290bf0f4b831dccab40a49cb5bac753227b361ac5cda351f5f1639d046d74c9faca68e84a76b4258370ce559a75022a4d44e80e04ded4ab3bc1a436290f85
|
7
|
+
data.tar.gz: 55b1795f58a87b3036336998bef703b26163e434ae4de055b6fcc397a566277e6a1c11160a032d91dc53c0bbf3e196bb1ae762b319cfd47751a17682ff559821
|
@@ -72,6 +72,24 @@ module Nexus
|
|
72
72
|
)
|
73
73
|
end
|
74
74
|
|
75
|
+
sig { params(topic_id: Integer).void }
|
76
|
+
def delete_topic(topic_id)
|
77
|
+
request(
|
78
|
+
http_method: HTTPMethod::DELETE,
|
79
|
+
endpoint: URI("forums/topics/#{topic_id}"),
|
80
|
+
)
|
81
|
+
end
|
82
|
+
|
83
|
+
sig { params(post_id: Integer).returns(Resources::Post) }
|
84
|
+
def get_post(post_id)
|
85
|
+
response = request(
|
86
|
+
http_method: HTTPMethod::GET,
|
87
|
+
endpoint: URI("forums/posts/#{post_id}"),
|
88
|
+
)
|
89
|
+
|
90
|
+
Resources::Post.from_hash(response.body)
|
91
|
+
end
|
92
|
+
|
75
93
|
sig { params(request: Requests::ListForumTopics).returns(Resources::Page[Resources::Topic]) }
|
76
94
|
def list_forum_topics(request)
|
77
95
|
response = request(
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nexus-invision
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jack Robertson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|