vauchar_api 0.3.3 → 0.3.4
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 +4 -4
- data/lib/active_resource/connection_ext.rb +4 -0
- data/lib/vauchar_api/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: acf404dfc18279d32019e840b6afca0f543e33536d1f347f7295cc4106c9ba54
|
4
|
+
data.tar.gz: bc6a813601e682eb4aa0b9660c7daf09fc77dca3f3dc1d893c57394b661a95f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eafca91629e87ae80457941374f304149aaba0b07470c743e841002dd2fb6b9236da6ab4845323c005528e68bcd15370d73b0f0d1d2d49eab885d1843b21b4fd
|
7
|
+
data.tar.gz: 448142125a1eb5d335159047e3715394ca8d91279c0e3e164b47f91a5d36ed3baa48257512ce9198e16c06eddb4b29609ea754929b41c46af1628732ae385a31
|
@@ -1,6 +1,8 @@
|
|
1
1
|
require "httparty"
|
2
2
|
require "vauchar_api/connection"
|
3
3
|
|
4
|
+
p "module ActiveResource"
|
5
|
+
|
4
6
|
module ActiveResource
|
5
7
|
class Connection
|
6
8
|
attr_reader :response
|
@@ -8,6 +10,8 @@ module ActiveResource
|
|
8
10
|
prepend VaucharAPI::Connection::ResponseCapture
|
9
11
|
prepend VaucharAPI::Connection::RequestNotification
|
10
12
|
|
13
|
+
p "module ActiveResource -> Connection"
|
14
|
+
|
11
15
|
def delete_with_body(path, body = "", headers = {})
|
12
16
|
with_auth do
|
13
17
|
HTTParty.delete("#{site.scheme}://#{site.host}:#{site.port}#{path}", {
|
data/lib/vauchar_api/version.rb
CHANGED