obsws 0.5.1 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/obsws/version.rb +1 -1
- data/lib/obsws.rb +2 -2
- 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: 4aeda40922d842790c7aa969608fe100ad4bd1b9dfc34ba586ec4d126c64abca
|
4
|
+
data.tar.gz: f2a6f162110e7bd46eaec6a5aa5fd1b30c684a8d0b4e1ab6e68b9e127ba1994f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '065915f3edb1d8e0235ce88765fe2dde21e300f905d20d569e7cd630db8446a281be695ee8059449f77f8d224eecab4ad445ad379362e5032e5fe36a1d1e675b'
|
7
|
+
data.tar.gz: 562b42f5b9b0152ffe22ba3b5dda1d4553c8f09be645709e589a2cc2d0e245a091396fc6c0bc83eb0a63cb10467f10e42cb25856767ee33dbd478e8d52dc9bb1
|
data/lib/obsws/version.rb
CHANGED
data/lib/obsws.rb
CHANGED
@@ -25,7 +25,7 @@ module OBSWS
|
|
25
25
|
attr_reader :req_name, :code
|
26
26
|
|
27
27
|
def initialize(req_name, code, msg)
|
28
|
-
@req_name =
|
28
|
+
@req_name = req_name
|
29
29
|
@code = code
|
30
30
|
@msg = msg
|
31
31
|
super(message)
|
@@ -33,7 +33,7 @@ module OBSWS
|
|
33
33
|
|
34
34
|
def message
|
35
35
|
msg = [
|
36
|
-
"Request #{@
|
36
|
+
"Request #{@req_name} returned code #{@code}."
|
37
37
|
]
|
38
38
|
msg << "With message: #{@msg}" if @msg
|
39
39
|
msg.join(" ")
|