hyperwallet-api 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hyperwallet/client.rb +2 -1
- data/lib/hyperwallet/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: d426190ee21f1434fb873912ff0a9a904a603cc8f024dfc087e71266aa81a618
|
4
|
+
data.tar.gz: d2d168b552407b395545d2486222b55a3dd0b26d7f50f726c9e2bd69dd5483ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6826e0e69d72289b6591026af182b3b6cfea42f01301e4b8917a4c76288d8ffd1876f9d7e19f50a415d42188a75b36dbd7ed0cf8e13198b2fa19de1313c86581
|
7
|
+
data.tar.gz: d0f2e1c813a38f09ace6b8d56d96970c6623302d5e20f6236a9e417b072879ab24da1007b3dd53b6fa05399310a78919f6033f7ba6a39d5cf146695bc240443a
|
data/lib/hyperwallet/client.rb
CHANGED
@@ -11,7 +11,7 @@ module Hyperwallet
|
|
11
11
|
include Hyperwallet::Client::User
|
12
12
|
include Hyperwallet::Client::WebhookNotification
|
13
13
|
|
14
|
-
attr_reader :url, :username, :password, :logger, :connection, :adapter
|
14
|
+
attr_reader :url, :username, :password, :logger, :connection, :adapter, :proxy
|
15
15
|
|
16
16
|
def initialize(url:, username:, password:, logger: true, adapter: Faraday.default_adapter, proxy: nil)
|
17
17
|
@url = "#{url}/rest/v4/"
|
@@ -19,6 +19,7 @@ module Hyperwallet
|
|
19
19
|
@password = password
|
20
20
|
@logger = logger
|
21
21
|
@adapter = adapter
|
22
|
+
@proxy = proxy
|
22
23
|
end
|
23
24
|
|
24
25
|
def delete(path, options = {})
|
data/lib/hyperwallet/version.rb
CHANGED