fanforce-utils 0.2 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/fanforce/utils/utils.rb +2 -0
- data/lib/fanforce/utils/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YTM1MTIyYTA4OTFiN2JiMzgzNTRlYmRmZWY3YTEyMGI3ODEyODUxYg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MTgwMTkwZmFjYWVkOGRhN2M3MDUzNWYzNmRjNzQ4MmFmNjg0OWUyYQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NzAzMjNkNmNjY2I5NTk5NDc2MzNhOGIyODc5YmZjYWRkNDNjNzMwOTgxNDg4
|
10
|
+
N2U5MGQyMDRhZmIyMzIyNGMzMDAzMzk0YzVhOTg0Y2UwNjQ1OTU3ZTJkODYy
|
11
|
+
NmFhZjExODFkOGVhZTFlN2I3ZDlkYzUxOTNiZTg0YTE5NGY2MmY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MzIwNDZiNTk1ZTE4ZjJmZDhlODNlYTE0MGUyZGZlYjhmZTMzYTNiOGIwNjcy
|
14
|
+
OGU1YTkwNWRmNmE3OGY1OTZhMTc5MWFlNDEzNjVjMTExMDFhMWI1ZDJhYjli
|
15
|
+
YjJmOThhNjRkMjczOTFkMGFkNzBjOTMwZWI0NTIzZDU3YTdiOGU=
|
data/lib/fanforce/utils/utils.rb
CHANGED
@@ -60,6 +60,8 @@ module Fanforce::Utils
|
|
60
60
|
"curl -X PUT -d \"#{to_query_string(req_params)}\" #{url.to_json}"
|
61
61
|
when :delete
|
62
62
|
"curl --request DELETE \"#{url}?#{to_query_string(req_params)}\""
|
63
|
+
when :options
|
64
|
+
"curl -X OPTIONS \"#{url}?#{to_query_string(req_params)}\""
|
63
65
|
else
|
64
66
|
raise 'Unknown request method'
|
65
67
|
end
|