almapi 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/almapi/almapi.rb +1 -1
- data/lib/almapi/version.rb +1 -1
- 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: b583eab87ae84d520b3ea4e9e7751338240e34dfab0dc2e4a1b8c79a47ad4b4f
|
4
|
+
data.tar.gz: 194b63c90551827de9223d87101e405c7dcd0a1deaab10c8b533376d9e885892
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 684c21017a843823c207493916369211df8c826e53e3f24a91bd779381f2864fee76889d89e982e2ea7a9cd014bb91361b582c9c09da8e6efdd7973e5ac77dbb
|
7
|
+
data.tar.gz: 5484e804fc5015968ecbc14e4452820b9a22d75f45ce37c35cb72e42ebbe811c029fe9453fbc5872e487c9bb64b47ce24ee82d89111a08ef26f290ef6ed6ad7d
|
data/lib/almapi/almapi.rb
CHANGED
@@ -109,7 +109,7 @@ module Almapi
|
|
109
109
|
# @return [Response || AlmapiError] : the resulting response if the API call succeeded, else AlmapiError
|
110
110
|
def handle_response(response, method)
|
111
111
|
case response.status
|
112
|
-
when 200
|
112
|
+
when 200, 204
|
113
113
|
# Success
|
114
114
|
response
|
115
115
|
else
|
data/lib/almapi/version.rb
CHANGED