connect_wise_rest 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/connect_wise_rest/client.rb +4 -3
- data/lib/connect_wise_rest/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: 0b699145e461f64788fab73819e9b91dcc1a467ff41d25583dc1541b7bf34dc0
|
4
|
+
data.tar.gz: cd6ad4fe2d9c9f615acc0da058e305c5d4f7cac31a9a40192b8ae2cdee0d4f5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b145b8c19e9ce4df655ed2303a8fe6861e854a358c31d67d5c110019ac9db941880f8fdb2fdde236d0e5fa8275b504021099f82f79093ab1affdcaaaa044b71
|
7
|
+
data.tar.gz: 78f251be2001f7f9d70dcbd36ada83a4e6a4ae1f10e4540c77ca94318d233ca73c8a30650ee55414a5256bffaf36b3f4304fd5f83fd4f8f8338a5992460282be
|
@@ -6,8 +6,9 @@ module ConnectWiseRest
|
|
6
6
|
|
7
7
|
DEFAULT_OPTIONS = ConnectWiseRest.configuration.to_hash.merge(
|
8
8
|
{
|
9
|
-
|
10
|
-
query: { 'page' => 1, 'pageSize' => 75 }
|
9
|
+
headers: {},
|
10
|
+
query: { 'page' => 1, 'pageSize' => 75 },
|
11
|
+
timeout: 300
|
11
12
|
}
|
12
13
|
)
|
13
14
|
|
@@ -37,7 +38,7 @@ module ConnectWiseRest
|
|
37
38
|
|
38
39
|
def request_options
|
39
40
|
request_options = {
|
40
|
-
headers: { 'Accept' => 'application/json' },
|
41
|
+
headers: { 'Accept' => 'application/json' }.merge(options[:headers]),
|
41
42
|
query: self.options[:query],
|
42
43
|
timeout: options[:timeout],
|
43
44
|
basic_auth: {
|