almapi 0.1.12 → 0.1.13
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 -2
- 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: 0f947e973e62d06727b5f2dd1f522460e2ce4e69296befd91aa9f0b8d8c11640
|
4
|
+
data.tar.gz: 8d8e505867b5411431aca8e6ffc6496cf50c3c64aa5cde7ac83da7ab9fadb0b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c6b8f99ff89947a74117a8472a00a74b2235a17bfbd8f8c10d2bb2d6aee4bf95ded0589de7a5bcd90f537c18df0eea7c7dfe22022af9709e9adb90e6e44e7bd
|
7
|
+
data.tar.gz: b4fb7018278683c408136237eeb657a637782661a2ef6600e993577af467f73b499f5da8a7b402e73ca573de4959ae435c65dca4bf0b17d6beb63162f6037a02
|
data/lib/almapi/almapi.rb
CHANGED
@@ -93,9 +93,8 @@ module Almapi
|
|
93
93
|
#
|
94
94
|
# @param resource [String] mandatory : the part of the URI specifying the access point.
|
95
95
|
# Must not include "?" for it adds "?apikey" automatically.
|
96
|
-
# @param data [String] : an XML string containing data to put.
|
97
96
|
# @return [Response] : the resulting response. If error occurs, raises an AlmapiError
|
98
|
-
def delete(resource
|
97
|
+
def delete(resource)
|
99
98
|
url_api = "#{@uri_base}#{resource}"
|
100
99
|
puts "[Almapi::Api.delete] INFO URL #{url_api}"
|
101
100
|
handle_response(@conn.delete(url_api), "DELETE")
|
data/lib/almapi/version.rb
CHANGED