mobe-client 0.0.4 → 0.0.5
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.
- checksums.yaml +8 -8
- data/lib/mobe-client.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YThlMzQyOTlmODM2YmFkOWNhZThlY2FkZjNmMGUyM2RhNTA3ZWJiOQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDJhY2JkOWM5NTk1ZmI3YmVjOTFlNTFmNDU5OWQyNmU1MTZlY2U2OA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YTY0NmU5ZTk1NTE5MGRiNTBiOTdkMWFhNDM2YjZjMzQ4M2QxZTAxODJjNTNj
|
10
|
+
ZjExNTc0NjVkZDY3NDdmYWFiZWI0MDQ1Njc5MGU0ZjJiZTRjYTJjOTY5ZWRi
|
11
|
+
OTBjM2JhMWIwZTk0OWE0ZWJjNzVlMzUyZDg0NDM0OGM2ZGVjZDU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NzI5OGRjM2YxZDljN2EzYmQzYmI2ZDhhZmM3NzZhYmQ4ZGU4NGNmMWMwYTYz
|
14
|
+
ZjI4ZTJlZDBmNmU1ZDkwNTc5NmIyYTA5YjU3NzA1MTUxNmIxNTE4YzE4ZWI0
|
15
|
+
ZTY0MGI0MmI1OGYzMzFhZGZjMmI4MjMxOWRkYTZlYWRhZmViYTU=
|
data/lib/mobe-client.rb
CHANGED
@@ -153,11 +153,11 @@ private
|
|
153
153
|
# Ensures configurations has the keys 'method', 'path', 'response', 'statusCode'
|
154
154
|
# @param configurations [Hash]
|
155
155
|
def check_for_register_arguments(configurations)
|
156
|
-
raise ArgumentError("Configurations doesn't have the correct keys: 'method', 'path','response', and 'statusCode'." ) unless (configurations.has_key?('method') && configurations.has_key?('path') && configurations.has_key?('response') && configurations.has_key?('statusCode'))
|
156
|
+
raise ArgumentError.new("Configurations doesn't have the correct keys: 'method', 'path','response', and 'statusCode'." ) unless (configurations.has_key?('method') && configurations.has_key?('path') && configurations.has_key?('response') && configurations.has_key?('statusCode'))
|
157
157
|
end
|
158
158
|
|
159
159
|
# Ensures configurations has the keys 'method', 'path'
|
160
160
|
# @param configurations [Hash]
|
161
161
|
def check_for_get_arguments(configurations)
|
162
|
-
raise ArgumentError("Configurations doesn't have the correct keys: 'method' and 'path'." ) unless (configurations.has_key?('method') && configurations.has_key?('path'))
|
162
|
+
raise ArgumentError.new("Configurations doesn't have the correct keys: 'method' and 'path'." ) unless (configurations.has_key?('method') && configurations.has_key?('path'))
|
163
163
|
end
|