almapi 0.1.11 → 0.1.12
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: a2c71796da8723be199a4befd1fc46e4df4e6f1fc718979982cee53f201302e9
|
4
|
+
data.tar.gz: 55c28ae9525298ab9af58716ac1d705860c96ea7244bd4e6725a752ee9da233f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 941deaa4377e68d206081d46c99df0ee2eb35b3dd57d90f2f81518da97264d5c0173f9fa3ea15b4d5679ed698cd9defc18113afa73f4a1d272081d28c3f5cdaa
|
7
|
+
data.tar.gz: c3d3ba08d5f450ee06c5f0a0ea360e9128b7446974a5187e0dd6ed666c807ea7ba544635a1348777d954cbd866faff27daa720c552639f6c30f38ddb4bbf5f21
|
data/lib/almapi/almapi.rb
CHANGED
@@ -95,7 +95,7 @@ module Almapi
|
|
95
95
|
# Must not include "?" for it adds "?apikey" automatically.
|
96
96
|
# @param data [String] : an XML string containing data to put.
|
97
97
|
# @return [Response] : the resulting response. If error occurs, raises an AlmapiError
|
98
|
-
def delete(resource,
|
98
|
+
def delete(resource, data)
|
99
99
|
url_api = "#{@uri_base}#{resource}"
|
100
100
|
puts "[Almapi::Api.delete] INFO URL #{url_api}"
|
101
101
|
handle_response(@conn.delete(url_api), "DELETE")
|
data/lib/almapi/version.rb
CHANGED