nexus-invision 1.10.1 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,6 +11,17 @@ module Nexus
11
11
  include ValueObject
12
12
 
13
13
  const :id, Integer
14
+
15
+ class << self
16
+ extend T::Sig
17
+
18
+ sig { params(response: T::Hash[String, T.untyped]).returns(Warning) }
19
+ def from_response(response)
20
+ Warning.new(
21
+ id: response["id"],
22
+ )
23
+ end
24
+ end
14
25
  end
15
26
  end
16
27
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  module Nexus
5
5
  module Invision
6
- # Leave this as 1.10.1 in order for CI process to replace with the tagged version.
7
- VERSION = "1.10.1"
6
+ # Leave this as 1.11.0 in order for CI process to replace with the tagged version.
7
+ VERSION = "1.11.0"
8
8
  end
9
9
  end